Skip to main content

LabelControl.AutoEllipsis Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(false)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Always)]
public bool AutoEllipsis { get; set; }

Property Value

Type Default Description
Boolean false

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.

LabelControl - Ellipsis

See Also