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 hide the drag providers when trying to dock the window in DockingManager

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

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
8788 05/31/2018 05/31/2018 WPF DockingManager 4
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