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
'Déclaration
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
- 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.