Show WPF window with WindowStyle=None and no resize -
i'm trying display window border windowstyle="none"
(picture 2), without option resize it!
when set resizemode="noresize"
border disappears (picture 1)
does know how this?
you can around setting max , min size properties same values, forcing window have fixed size. should work:
window w = new window(); w.maxheight = w.minheight = 300; w.minwidth = w.maxwidth = 400; w.windowstyle = system.windows.windowstyle.none; w.show();
Comments
Post a Comment