Articles in this section
Category / Section

How to change the caption text alignment of docked windows in WinForms Docking Manager?

1 min read

Caption label alignment

The DockingManager.DockLabelAlignment property is used to specify the alignment of caption text. The Following code demonstrate the usage of this property.


// Align the Label to Left side of Docked window caption.
 this.dockingManager1.DockLabelAlignment = Syncfusion.Windows.Forms.Tools.DockLabelAlignmentStyle.Left;



' Align the Label to Left side of Docked window caption
me.DockingManager1.DockLabelAlignment = Syncfusion.Windows.Forms.Tools.DockLabelAlignmentStyle.Left



The default value of DockLabelAlignment property is Left.

UG document link:

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