Material.Avalonia icon indicating copy to clipboard operation
Material.Avalonia copied to clipboard

Link existing 'DialogHelper.IDialogWindow' logic with the 'DialogHost.Avalonia'

Open djonasdev opened this issue 2 years ago • 3 comments

What is the best way to proceed if you want to link your existing IDialogWindow logic with the DialogHost (https://github.com/AvaloniaUtils/DialogHost.Avalonia)?

Currently I have implemented all popups or dialogs in my application with the DialogHelper class.

Since my application is designed as a desktop application and also as a "Kiosk app" on the Raspberry pi, I would like to find a solution how I can link my existing calls with the DialogHost.

djonasdev avatar Mar 17 '22 13:03 djonasdev

If all Dialogs were not a Window (example the AlertDialog https://github.com/AvaloniaCommunity/Material.Avalonia/blob/dev/Material.Dialog/Views/AlertDialog.axaml) but a UserControl, they could be displayed either as DialogWindow.Show or within the DialogHost.Show.

djonasdev avatar Mar 17 '22 14:03 djonasdev

@appleneko2001 can you take a look?

SKProCH avatar Mar 19 '22 11:03 SKProCH

Well I break the support because I moved templates to window styles It should be marked as bug not enhancement It was worked before

appleneko2001 avatar Mar 20 '22 14:03 appleneko2001

Apparently this is resolved now. Closing

SKProCH avatar May 14 '24 14:05 SKProCH