문제

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?

도움이 되었습니까?

해결책

You can change this by setting the ResizeMode of the window

EG:

ResizeMode="NoResize" 
or
WindowStyle="ToolWindow"

will show no minimize/maximize buttons

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top