Back to Devexpress

TextEdit.TextDecorations Property

wpf-devexpress-dot-xpf-dot-editors-dot-textedit-eb0f082d.md

latest1.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public TextDecorationCollection TextDecorations { get; set; }
vb
Public Property TextDecorations As TextDecorationCollection

Property Value

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

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

See Also

TextEdit Class

TextEdit Members

DevExpress.Xpf.Editors Namespace