UseNativeChrome in WPF Chromeless Window

5 May 20211 minute to read

Windows can be arranged side by side by using UseNativeChrome property, which is very helpful while moving and comparing the windows .To enable this docking behavior, set UseNativeChrome property to True. This property allows the ChromelessWindow to behave like the MS Window .Windows can be docked to the left and right side of the Window to resize them to half of the screen. Also it supports the window maximization when docked at the top of the screen.

To set this property, use the below code.

<syncfusion:ChromelessWindow x:Class="Chromelesswindow.MainWindow"
Title="ChromelessWindow" Height="350" Width="525"  UseNativeChrome="True"   syncfusion:SkinStorage.VisualStyle="Metro" 
x:Name="_chromelessWindow" xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF"  >
_chromelessWindow.UseNativeChrome = true;
_chromelessWindow.UseNativeChrome = True