Frage

Winforms can switch the ControlBox, Maximize and Minimize buttons on and off. I can't seem to find the equivalent properties to control the window ornaments in WPF. What's the correct nomenclature so I can look up this stuff in msdn?

War es hilfreich?

Lösung

You can change this by setting the ResizeMode of the window

EG:

ResizeMode="NoResize" 
or
WindowStyle="ToolWindow"

will show no minimize/maximize buttons

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top