System.Windows.Forms.ToolStripItem.TextAlign Property

Gets or sets the alignment of the text on a System.Windows.Forms.ToolStripLabel.

Syntax

[System.ComponentModel.DefaultValue(System.Drawing.ContentAlignment.MiddleCenter)]
[System.ComponentModel.Localizable(true)]
public virtual System.Drawing.ContentAlignment TextAlign { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the ToolStripItem.TextAlign property to get or set text alignment on a System.Windows.Forms.ToolStripItem. Use the ToolStripItem.ImageAlign property to get or set image alignment on a System.Windows.Forms.ToolStripItem.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0