C# WPF) how to minimize a parent window after child modal window is showed by showdialog()?
I've searched some posts on stackoverflow and some discussion concluded as there's no way to do this as it's standard behavior of WPF modal Window. Isn't there really a solution to minimize(control) the parent Window from a modal child Window? Anybody who hacked or knows a roundtrip ? Your excellent ideas will be highly appreciated always. Thank you ! You can get the reference of your Window via application window collection. This is an example of minimizing the MainWindow which is in my example the parent window: private void button_Click(object sender, RoutedEventArgs e) { foreach (Window