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

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace