2

For my surprise, when I run my WPF application in Windows 10, I get a blue border around my windows. I believe that's something to do with resizing with the grip, as of the area I would have to place the mouse, because some of the windows, like pop-ups, are normal and cannot be resized.

I've checked other Q&A, and apparently they make use of WindowChrome to reach it. I would like to keep .NET 4.0 as the minimum pre-requisite for my application, if possible, so I couldn't use this approach. I would also like to maintain the resizability of my window.

Is there any simple way of hiding the border?

Btw, no luck with this response, the border is still there.

Community
  • 1
  • 1
lucas.mdo
  • 339
  • 7
  • 27

2 Answers2

1

I think what you looking for is

select the mainWindow and from properties > Appearance

change the BorderThickness or WindowStyle

MustafaHi_
  • 31
  • 2
-2

First pressed Cap Lock, its light comes on. Then press Esc. The blue outline is gone!

bbahadir
  • 1
  • 1