lepoco / wpfui

WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
https://wpfui.lepo.co
MIT License
7.04k stars 667 forks source link

ResizeMode="CanMinimize" is not working #1070

Closed xianyunleo closed 5 days ago

xianyunleo commented 2 months ago

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

textGamex commented 1 week ago

可以使用TitleBar上的CanMaximize属性

xianyunleo commented 5 days ago

@textGamex 感谢提示

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

pomianowski commented 5 days ago

Please describe problems thoroughly and keep issues in English