Skip to content

Is there any way to open two different windows at the same time, and then have them both open a dialog that shares the same context? #42

Answered by SKProCH
nir34 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nir34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants