NoResize
Closed this issue · 4 comments
Bober95 commented
While we use the 'UseModernWindowStyle' option, the 'ResizeMode="NoResize"' option does not work
- OS: Windows 11 23H2
- .Net 8
alexpauls commented
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 commented
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!
Bober95 commented
it works! Thanks :)
var chrome = WindowChrome.GetWindowChrome(this); chrome.ResizeBorderThickness = new Thickness(0); WindowChrome.SetWindowChrome(this, chrome);