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
Get
public override Brush ForegroundBrush { get; }
public:
virtual property Brush^ ForegroundBrush {
Brush^ get () override;
}
abstract ForegroundBrush : Brush
override ForegroundBrush : Brush
override function get ForegroundBrush () : Brush
Property Value
Type: System.Windows.Media.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.