ChildWindow - A Grid as a panel #13181
-
Hi folks, I am creating a control where I will show a UserControl as a Dialog inside a window. The idea is pretty similar to SimpleChildWindow (https://github.com/punker76/MahApps.Metro.SimpleChildWindow). PantherChildWindow
Button "Adicionar" calling the ChildWindow:
I am looking here for advices, best practices and ideas how could I do this better? Even dragging the inside Grid would be interesting. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
check what other libs do by exploring https://github.com/AvaloniaCommunity/awesome-avalonia For example, FluentAvalonia has a ContentDialog and TaskDialog which are interesting. Dragging can maybe be achieved by Avalonia.Behaviors |
Beta Was this translation helpful? Give feedback.
-
There is ContentDialog in Labs. |
Beta Was this translation helpful? Give feedback.
-
@workgroupengineering @timunie I will take a look at awesome controls, thanks. Just for context: Edit: |
Beta Was this translation helpful? Give feedback.
-
Ursa's overlay dialog is designed to be like this. |
Beta Was this translation helpful? Give feedback.
Ursa's overlay dialog is designed to be like this.