C#.codebox 1
WPF – How to get the parent window of a control?
1
Window thisControl_Window = Window.GetWindow(this);