0
How can we create Borderless Window in WPF?

Open 1 Answers 8 Views Education
How can we create Borderless Window in WPF?

1 Answer

0
We can create a borderless window in two ways.
 
Firstly, by writing a WindowStyle property = None, SingleBorderWindowThreeDBorderWindow or ToolWindow in the <Window> element.
  1. <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" WindowStyle="None">  
  2.     <Grid> </Grid>  
  3. </Window>  
The second way is to open the Property Window, select the window style property to either None, SingleBorderWindow, ThreeDBorderWindow or ToolWindow.
 
Squire 
 
by (280k points)
...