Minimize a window in WPF?

Erika picture Erika · May 15, 2010 · Viewed 63.9k times · Source

How do you minimize a window programmatically when using windows WPF? I can seem to find a .Resize attribute?

Answer

sean e picture sean e · May 15, 2010

set WindowState = WindowState.Minimized;