How to change the dock label of docked control dynamically in WinForms Docking Manager?
Change dock window header
You can change the dock label of the docked control dynamically inWinForms DockingManager by using the SetDockLabel method of the docking manager. Refer to the following code examples.
C#
//Sets the text to be displayed in the docking window caption this.dockingManager1.SetDockLabel(this.panel1, "Syncfusion");
VB
'Sets the text to be displayed in the docking window caption Me.dockingManager1.SetDockLabel(Me.panel1, "Syncfusion")
Samples:
VB: https://www.syncfusion.com/downloads/support/directtrac/general/DockinManager_VB1913125825.zip
UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/dock-window#change-dock-window-header
I hope you enjoyed learning about how to increase or decrease the animation speed of the auto hide docking control in WinForms DockingManager.
You can refer to our WinForms Docking Manager feature tour page to know about its other groundbreaking feature representations and documentation, 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 forums, Direct-Trac, or feedback portal. We are always happy to assist you!