다음을 통해 공유


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
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: 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