Compartir a través de


TextFormattingRunProperties.TextDecorations Property

Gets the decorations for the text.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property TextDecorations As TextDecorationCollection
public override TextDecorationCollection TextDecorations { get; }
public:
virtual property TextDecorationCollection^ TextDecorations {
    TextDecorationCollection^ get () override;
}
abstract TextDecorations : TextDecorationCollection with get 
override TextDecorations : TextDecorationCollection with get
override function get TextDecorations () : TextDecorationCollection

Property Value

Type: TextDecorationCollection
The text decorations.

Remarks

Returns an empty TextDecorationCollection if no collection is currently set.

.NET Framework Security

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace