Skip to main content

TextEditSettings.TextTrimming Property

Gets or sets the text trimming behavior. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public TextTrimming TextTrimming { get; set; }

Property Value

Type Description
TextTrimming

One of the TextTrimming enumeration values.

Remarks

Text content of the editor is trimmed when it overflows the editor’s edges in display mode. Refer to the Assign Editors to Cells topic for more information.

The TextTrimming property has no effect unless the TextEditSettings.TextWrapping property is set to NoWrap. The template, used to present the content of the tooltip, is specified via the BaseEdit.TrimmedTextToolTipContentTemplate property.

See Also