Articles in this section
Category / Section

How to restrict the Drag and Drop support in WPF DockingManager?

1 min read

In WinForms DockingManager, you can handle the reordering of Tabbed documents by drag and drop using the IsTDIDragDropEnabled property.

XAML

<syncfusion:DockingManager x:Name="dockmanager" IsTDIDragDropEnabled="False"  UseDocumentContainer="True">
<ContentControl Name="child1" syncfusion:DockingManager.Header="Dock1" syncfusion:DockingManager.State="Document" ></ContentControl>
<ContentControl Name="child2" syncfusion:DockingManager.Header="Dock2" syncfusion:DockingManager.State="Document"></ContentControl>
<ContentControl Name="child3" syncfusion:DockingManager.Header="Dock3" syncfusion:DockingManager.State="Document"></ContentControl>
</syncfusion:DockingManager>

C#

dockmanager.IsTDIDragDropEnabled = false;

 


Conclusion

I hope you enjoyed learning on how to restrict the Drag and Drop in WPF DockingManager.

You can refer to our WPF DockingManager featuretour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied