WPF - Hide minimize button of a window

Melursus picture Melursus · Jun 29, 2011 · Viewed 11.5k times · Source

In WPF, how can I hide the minimize button (only the minimize, not also the maximize...) of a window.

The code in this forum almost work for me. The behavior of that code is that it's disabled the minimize button. But, how hide it?

http://forums.silverlight.net/forums/p/222067/532926.aspx

Answer

LazyZebra picture LazyZebra · Oct 23, 2012

How about disabling the resize attribute?

ResizeMode="NoResize"