Articles in this section
Category / Section

How to change the dock label of docked control dynamically in WinForms Docking Manager?

4 mins read

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

 

Conclusion

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 documentationto 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
Please sign in to leave a comment
Access denied
Access denied