ToolStripStatusLabel::Alignment Property
.NET Framework (current version)
Gets or sets a value that determines where the ToolStripStatusLabel is aligned on the StatusStrip.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property ToolStripItemAlignment Alignment { ToolStripItemAlignment get(); void set(ToolStripItemAlignment value); }
Property Value
Type: System.Windows.Forms::ToolStripItemAlignmentOne of the ToolStripItemAlignment values.
The meaning of the Alignment property is affected by the setting of the RightToLeft property.
The following code example demonstrates the syntax for various ToolStripStatusLabel common properties, including the Alignment property.
.NET Framework
Available since 2.0
Available since 2.0
Show: