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)

enter image description here

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

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -