System.Windows.Forms.Label.AutoEllipsis Property

Gets or sets a value indicating whether the ellipsis character (...) appears at the right edge of the System.Windows.Forms.Label, denoting that the System.Windows.Forms.Label text extends beyond the specified length of the System.Windows.Forms.Label.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.DefaultValue(false)]
public bool AutoEllipsis { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Set Label.AutoEllipsis to true to display text that extends beyond the width of the System.Windows.Forms.Label when the user passes over the control with the mouse. If Label.AutoSize is true, the label will grow to fit the text and an ellipsis will not appear.

Note:

If the font is taller than the height of the System.Windows.Forms.Label and Label.AutoEllipsis is true, you must set Label.AutoSize to false for text to be drawn.

Requirements

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