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

声明
Public Overrides ReadOnly Property TextDecorations As TextDecorationCollection
    Get
public override TextDecorationCollection TextDecorations { get; }
public:
virtual property TextDecorationCollection^ TextDecorations {
    TextDecorationCollection^ get () override;
}
abstract TextDecorations : TextDecorationCollection
override TextDecorations : TextDecorationCollection
override function get TextDecorations () : TextDecorationCollection

Property Value

Type: System.Windows.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