Skip to main content
A newer version of this page is available. .

LabelControl.AutoEllipsis Property

Gets or sets whether the ellipsis character is appended to the string when the string is truncated.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

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

Property Value

Type Default Description
Boolean **false**

true if the ellipsis character is used when the string is truncated; otherwise, false.

Remarks

This property is in effect when the LabelControl.AutoSizeMode property is set to None. In this mode you are able to specify the label’s size manually via the Size property. If the AutoEllipsis property is set to true and the control’s text doesn’t fit into the specified bounds in its entirety the trimmed text will be replaced by the ellipsis character.

See Also