Reputation: 859
I have other-window.xaml file and trying to open this from window.xaml on button click. How did it without code-behind?
Upvotes: 0
Views: 1127
Reputation: 184516
You could define the window as a non-shared resource and write an Interactivity
TriggerAction
that resolves the resource and calls Show
on the window. That action can then be used in the combination with an Interactivity
EventTrigger
on Click
.
Upvotes: 2