We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to enable Windows Docking for the ChromelessWindow?

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.

XAML

C#

 

To arrange the windows side by side,

  1. Drag the title bar of a window to the left or right side of the screen until an outline of the expanded window appears.
  2. Release the mouse to expand the window.
  3. Repeat steps 1 and 2 with another window 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.

Keyboard gestures:

To snap an active window to the side of the desktop by using the keyboard, press either the ‌Windows logo key Picture of Windows logo key+Left Arrow or‌ Windows logo key Picture of 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:
4798 05/06/2015 05/06/2015 WPF ChromelessWindow
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon