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

TextEditSettings.TextDecorations Property

Gets or sets a value that specifies the text decorations that are applied to the editor’s content. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public TextDecorationCollection TextDecorations { get; set; }

Property Value

Type Description
TextDecorationCollection

A TextDecorationCollection object that contains text decorations that are applied to the editor’s content.

Property Paths

You can access this nested property as listed below:

Object Type Path to TextDecorations
TokenEditorBehavior
.TokenEditSettings .TextDecorations

Remarks

Use the TextDecorations property to add a visual ornament to text.

<dxg:GridColumn FieldName="City">
    <dxg:GridColumn.EditSettings>
        <dxe:TextEditSettings TextDecorations="Underline"/>
    </dxg:GridColumn.EditSettings>
</dxg:GridColumn>
See Also