Compartir a través de


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

'Declaración
Public Overrides ReadOnly Property ForegroundBrush As Brush
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

See Also

Reference

TextFormattingRunProperties Class

Microsoft.VisualStudio.Text.Formatting Namespace