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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.