Back to Devexpress

LabelControl.AutoEllipsis Property

windowsforms-devexpress-dot-xtraeditors-dot-labelcontrol-993ba622.md

latest1.9 KB
Original Source

LabelControl.AutoEllipsis Property

Gets or sets whether the control displays the ellipsis character for truncated text.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Always)]
public bool AutoEllipsis { get; set; }
vb
<DefaultValue(False)>
<EditorBrowsable(EditorBrowsableState.Always)>
<DXCategory("Behavior")>
Public Property AutoEllipsis As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the control displays the ellipsis character for truncated text; otherwise, false.

|

Remarks

This property is in effect when you set the LabelControl.AutoSizeMode property to None or Vertical.

In these modes, you can use the Size property to specify the label’s size (in Vertical mode, you can only change the width). If you set the AutoEllipsis property to true and the text size exceeds the control’s bounds, the control displays the ellipsis character.

See Also

AutoSizeMode

LabelControl Class

LabelControl Members

DevExpress.XtraEditors Namespace