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
‘선언
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: System.Windows.Media.Brush
The foreground brush.
Remarks
This brush will override any foreground color that is 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.