Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResizeMode="CanMinimize" is not working #1070

Closed
xianyunleo opened this issue Apr 26, 2024 · 3 comments
Closed

ResizeMode="CanMinimize" is not working #1070

xianyunleo opened this issue Apr 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@xianyunleo
Copy link

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 xianyunleo added the bug Something isn't working label Apr 26, 2024
@xianyunleo xianyunleo changed the title ResizeMode="CanMinimize" invalid ResizeMode="CanMinimize" is not working Apr 26, 2024
@textGamex
Copy link
Contributor

textGamex commented Jun 27, 2024

可以使用TitleBar上的CanMaximize属性

@xianyunleo
Copy link
Author

@textGamex 感谢提示

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

@pomianowski
Copy link
Member

pomianowski commented Jul 2, 2024

Please describe problems thoroughly and keep issues in English

@pomianowski pomianowski closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2024
@lepoco lepoco locked as spam and limited conversation to collaborators Jul 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants