)
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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to hide the drag providers when trying to dock the window in DockingManager

Platform: WPF |
Control: DockingManager |
Published Date: May 31, 2018 |
Last Revised Date: May 31, 2018 |
.NET Framework: 4

Drag provider will be visible only if we try to dock the float window by dragging it. If the floated window is not dockable, the drag providers will not show in DockingManager. To hide the drag providers from the DockingManager, we must set CanDock property of DockingManager as false. For instance, we have set the value of CanDock property as false, when trying to dock the float window to the DockingManager.

 

Mainwindow.xaml:

 

Mainwindow.cs:

 

If the CanDock property is set as false, we cannot dock the child to the DockingManager by double clicking the header, it will be in Float State. We can re-dock the child again to the DockingManager by changing the value of CanDock as true.

Sample :

http://www.syncfusion.com/downloads/support/directtrac/general/ze/HideDockPreview_Sample-178041441.zip

 

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon