TextFormattingRunProperties.ForegroundBrush Property
Gets the foreground brush.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property ForegroundBrush As Brush
public override Brush ForegroundBrush { get; }
public:
virtual property Brush^ ForegroundBrush {
Brush^ get () override;
}
abstract ForegroundBrush : Brush with get
override ForegroundBrush : Brush with get
override function get ForegroundBrush () : Brush
Property Value
Type: Brush
The foreground brush.
Remarks
Returns a transparent brush if the foreground brush is not 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.