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

TextEdit.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

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

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.

Remarks

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

<dxe:TextEdit Text="Hello World!" TextDecorations="Underline"/>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TextDecorations property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also