I have a user control that I load into a MainWindow at runtime. I cannot get a handle on the containing window from the UserControl.
MainWindow
UserControl
I hav
DependencyObject parent = ExVisualTreeHelper.FindVisualParent(this);