To enable the ChromelessWindow to dock to the Windows screen, set the UseNativeChrome to true. When the UseNativeChrome property is set, the ChromelessWindow behaves in the same way as the normal Window and can be docked to the left or right. It also enables the maximization of the window when the window is docked to the top of the screen.
The following code example demonstrates how to set the UseNativeChrome from code-behind and XAML.
To arrange the windows side by side,
To return the window to its original size, drag the title bar away from the top of the desktop and then release.
To snap an active window to the side of the desktop by using the keyboard, press either the Windows logo key +Left Arrow or Windows logo key +Right Arrow.
The following screenshots illustrate the windows docking of the ChromelessWindow.
Figure 1: ChromelesWindow maximizes when docked to the top of the Screen
Figure 2: Docking the ChromelessWindow to the right side
Figure 3: Two ChromelessWindows snapped side by side
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|