Replies: 4 comments 11 replies
-
I have't tried FuncUI with distinct dialog windows (file pickers etc aside), but fwiw I have used https://github.com/AvaloniaUtils/DialogHost.Avalonia for a few simple things and that seems to work ok. There is https://github.com/mysteryx93/HanumanInstitute.MvvmDialogs but I've never tried to use it. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure what kind of dialogs do you mean, do you mean system dialogs (like file pickers) or your own windows? For your own windows I have an old sample for one approach that shares a observable to elmish subscriptions so both windows know what each other are talking about: In the more recent "Component" version should be simpler to implement For System Dialogs I have another slightly more up to date version: |
Beta Was this translation helpful? Give feedback.
-
Sorry guys, none of your answers seems to lead anywhere, nor to be related |
Beta Was this translation helpful? Give feedback.
-
Ok, it works this way, but there's a caveat: it's better to handle the dialog in a separate component than the background, to avoid unwanted state changes with complex apps |
Beta Was this translation helpful? Give feedback.
-
How can I show dialogs in Avalonia, and use their result?
Beta Was this translation helpful? Give feedback.
All reactions