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

NoResize #59

Open
Bober95 opened this issue May 13, 2024 · 3 comments
Open

NoResize #59

Bober95 opened this issue May 13, 2024 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Bober95
Copy link

Bober95 commented May 13, 2024

While we use the 'UseModernWindowStyle' option, the 'ResizeMode="NoResize"' option does not work

  • OS: Windows 11 23H2
  • .Net 8
@alexpauls
Copy link

Same for me. I tried to work around it and only show the Arrow-Cursor if I hover over the border of the window, so it would at least be visually like you can't resize the window. Doesn't work either.

@NotYoojun
Copy link
Member

Hi guys, maybe I can have a look a few days later. I guess this is caused by the WindowChrome.
You guys can try a custom WindowChrome value and see if it works.

Thanks!

@NotYoojun NotYoojun added bug Something isn't working good first issue Good for newcomers labels May 16, 2024
@Bober95
Copy link
Author

Bober95 commented May 16, 2024

it works! Thanks :)

var chrome = WindowChrome.GetWindowChrome(this); chrome.ResizeBorderThickness = new Thickness(0); WindowChrome.SetWindowChrome(this, chrome);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants