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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Platform: WinForms |
Control: DockingManager

Change dock window header

You can change the dock label of the docked control dynamically by using the SetDockLabel method of the docking manager. Refer to the following code examples.


//Sets the text to be displayed in the docking window caption
this.dockingManager1.SetDockLabel(this.panel1, "Syncfusion");



'Sets the text to be displayed in the docking window caption
Me.dockingManager1.SetDockLabel(Me.panel1, "Syncfusion")



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


2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment
Winfried Andreas
Mar 06, 2015
This simply doesn't work anymore Reply
Saravanan Thirunavukkarasu [Syncfusion]
Mar 10, 2015
Hi Winfried, Thank you for using Syncfusion products. We would like to let you know that we could find SetDockLabel function is working as expected in Docking Manager. We have prepared a sample for your reference and it can be downloaded from the following location. Sample location: http://www.syncfusion.com/downloads/support/directtrac/general/DockingManager-1569744748.zip Could you please let us know, in which case you are facing this reported behavior and it will be helpful for us to analyze and provide prompt solution as earlier as possible? Please let us know if you have any further assistance on this, Regards, Saravanan T Reply

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile