I created a new wpf window and set the background of the main Grid, I found there is a blank space on the top of window when I set WindowStyle to be None. How to remove the blank space?
<Window x:Class="XuanyiRetail.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300" WindowStyle="None">
<Grid Background="Bisque">
</Grid>