I facing very huge problem now, that is I have usercontrol (created by me) which I have added on to a window… on click of button I wann show another usercontrol on window, total how can I access the window object in my control (usercontrol)
Thanks all
You can use
Window.GetWindow. However, you might want to consider a redesign where theWindowis responsible for its content, not something hosted inside theWindow.