Alignment Settings in Windows Forms statusbaradvpanel
29 Apr 20211 minute to read
This section discusses the alignment settings of the StatusBarAdvPanel control.
The contents of the StatusBarAdvPanel can be aligned using the property given below.
Property Table
StatusBarAdvPanel Property | Description |
---|---|
Alignment | Indicates the alignment type of the text and icon of the panel. The options included are as follows.Left,Right andCenter. |
this.statusBarAdvPanel1.Alignment = System.Windows.Forms.HorizontalAlignment.Left;
Me.statusBarAdvPanel1.Alignment = System.Windows.Forms.HorizontalAlignment.Left
HAlign
The horizontal alignment of the StatusBarAdvPanels in the StatusBarAdv control can be customized using the property given below.
Property Table
StatusBarAdvPanel Property | Description |
---|---|
HAlign | Indicates the horizontal alignment in the FlowLayout. It includes the options given below.Left,Right,Center andJustify.The 'Justify' option will expand the panel to occupy any extra spaces in the control. |
this.statusBarAdvPanel1.HAlign = Syncfusion.Windows.Forms.Tools.HorzFlowAlign.Left;
Me.statusBarAdvPanel1.HAlign = Syncfusion.Windows.Forms.Tools.HorzFlowAlign.Left;