You can't do just "Window1.ShowDialog(this)" to show a dialog in MVVM. There are workarounds, such as accessing the MainWindow with Application.Current... but this approach is not recommended when using MVVM. This code generator assists you in creating a dialog in Avalonia (v11) with MVVM. It sumarizes the steps in the documentation. Leave me a star if you will.
-
Notifications
You must be signed in to change notification settings - Fork 0
spinalcord/Avalonia-Dialog-Helper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published