Freigeben über


EditorFormatDefinition.ForegroundBrush Property

Gets or sets the foreground brush for this item.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Property ForegroundBrush As Brush
    Get
    Protected Set
public Brush ForegroundBrush { get; protected set; }
public:
property Brush^ ForegroundBrush {
    Brush^ get ();
    protected: void set (Brush^ value);
}
member ForegroundBrush : Brush with get, set
function get ForegroundBrush () : Brush
protected function set ForegroundBrush (value : Brush)

Property Value

Type: System.Windows.Media.Brush
The foreground brush.

Remarks

This brush will override any foreground color that is set.

.NET Framework Security

See Also

Reference

EditorFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace