Reputation: 15378
I have two Window (name: window1 \ window2) whether it is possible to insert them in another Window (window3). What would have once been seen window1 \ window2, buyout lie window3?
Upvotes: 0
Views: 1287
Reputation: 178630
No, not possible. But if you separate the content of the windows out into separate UserControl
s, then it is easy to include those UserControl
s inside another Window
.
Upvotes: 1
Reputation: 7037
You can use a Frame. Then load a UserControl or Page into the frame. You cannot put a Window within the Frame however.
The benefit of use a Page is that you gain access to the NavigationService. NavigationService gives you a forward and back stack history of the pages your user visits. Here's another thread discussing a similar question.
Upvotes: 0