-
it seems that a dialog cannot be owned by more than one window |
Beta Was this translation helpful? Give feedback.
Answered by
SKProCH
Jan 8, 2024
Replies: 1 comment
-
You can use the same viewmodel for both DialogHost at the same time, so content will be linked and updated through bindings. But you can't use the same Avalonia control (such as UserControl or any other) for multiple DialogHosts, since Avalonia control can have only one parent control. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nir34
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the same viewmodel for both DialogHost at the same time, so content will be linked and updated through bindings.
But you can't use the same Avalonia control (such as UserControl or any other) for multiple DialogHosts, since Avalonia control can have only one parent control.