Articles in this section
Category / Section

How to change the docking style of the dock tab group programmatically in WinForms Docking Manager?

2 mins read

Docking style

WinForms DockingManager has the overloaded DockControl method which contains the tabGroup parameter. To dock the entire tab group, set this parameter to true. When the tabGroup parameter is set to false, only one control will be removed from the tab group and docked to the specified side.

C#

this.dockingManager1.DockControl(this.panel1,this,Syncfusion.Windows.Forms.Tools.DockingStyle.Top,190,true);

 

VB

Me.dockingManager1.DockControl(Me.panel1,Me,Syncfusion.Windows.Forms.Tools.DockingStyle.Top,190,True)

 

UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/dock-window#change-dock-side-of-children

 

Conclusion

I hope you enjoyed learning about how to change the docking style of the dock tab group programmatically in WinForms Docking Manager.

You can refer to our  WinForms DockingManager’s feature tour page to know about its other groundbreaking feature representations. You can also explore our   WinForms DockingManager documentation to understand how to present and manipulate data.

For current customers, you can check out our WinForms 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 WinForms DockingManager and other WinForms components.

If you have any queries or require clarifications, please let us know in comments 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