![]() The WindowChrome.WindowChrome property to a default WindowChrome object. Making this work only requires that I set It also removes a gray border that has always appeared around my Windows 7 windows that have AllowTransparency=False. I have also confirmed that settling the WindowChrome.WindowChrome property fixes this problem. ( Windows tend to look a bit odd that way though.) Obviously, it's not doing exactly what your red window does but it will resize and the stuff that looks like an edge is just styling, you could have nothing there at all. Specifically Window6 which has this style applied ( it's in Dictionary1 ). ![]() I've not tried this on win10 but it may address your issue. If you want precise control over styling and you want to retain user resizing then I suggest you take a look at windowchrome. Suggested by the Windows Insider Preview Community). NOTE: When I set the ResizeMode to 'NoResize' the white top bar disappears. ![]() Secondly is there a work around to get rid of the white top bar? With Windows 10 this is not working any more as a white top bar is always displayed:įirst of all I would expect that no white bar is given when I request a border less window. Simple, you just had to use WindowStyle="None" and ResizeMode="CanResize" as given in the following xaml: With previous versions of Windows this used to be quite ![]() I like to create a WPF window which has no border at all and which is resizeable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |