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.

C#

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

 

VB

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

 

Note:

The default value of DockLabelAlignment property is Left.

UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/dock-window#change-caption-label-alignment

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