wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

ResizeMode="CanMinimize" is not working

Open xianyunleo opened this issue 9 months ago • 1 comments

Describe the bug

ResizeMode="CanMinimize" invalid

To Reproduce

ResizeMode="CanMinimize"

Expected behavior

image The maximize button is invalid. Unable to resize the window

Screenshots

image

OS version

windows 11

.NET version

.NET 8

WPF-UI NuGet version

3.0.0

Additional context

No response

xianyunleo avatar Apr 26 '24 11:04 xianyunleo

可以使用TitleBar上的CanMaximize属性

textGamex avatar Jun 27 '24 16:06 textGamex

@textGamex 感谢提示

@经测试,设置TitleBar的CanMaximize=False,还是可以通过双击TitleBar,或者TitleBar右键菜单实现最大化。建议官方优化一下@pomianowski 。 最终我是通过设置Window的ResizeMode=CanMinimize 和 TitleBar的ShowMaximize=False 完美实现。

xianyunleo avatar Jul 02 '24 10:07 xianyunleo

Please describe problems thoroughly and keep issues in English

pomianowski avatar Jul 02 '24 21:07 pomianowski