Remove WPF window border

0

I have this window with an image defined as background , ok, but note that the image is not occupying the entire window. How can I remove these borders?

Remembering that the window has the following properties in XAML:

AllowsTransparency="True" 
WindowStyle="None" 
ResizeMode="NoResize" 
WindowStartupLocation="CenterScreen"
  

    
asked by anonymous 26.03.2016 / 22:23

1 answer

1

In the BorderThickness property set the values to 0.

Border Thickness that literally translates to thickness / border thickness, and by default the wpf arrows these borders you can set the thickness / thickness to 0 thus removing it.

BorderThickness="0";

For more references Border Thickness Doc

    
27.10.2017 / 00:17