Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LabelControl.AutoEllipsis Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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