在 wpf 上只显示 X 和最小化按钮
我不希望用户调整窗口大小,因此我执行了 ResizeMode="NoResize"
。但随后最小化按钮也会消失,只有 X
按钮可见。有没有办法保留最小化按钮?
I don’t want the user to resize the window so I did ResizeMode="NoResize"
. But then the minimize button also disappears and only the X
button is visible. Is there a way to keep the minimize button?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

WPF Windows 概述。
ResizeMode="CanMinimize"
WPF Windows Overview.
ResizeMode="CanMinimize"