EditorFormatDefinition.ForegroundColor Property
Gets or sets the foreground color for this item.
Namespace: Microsoft.VisualStudio.Text.Classification
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Déclaration
Public Property ForegroundColor As Nullable(Of Color)
Get
Protected Set
public Nullable<Color> ForegroundColor { get; protected set; }
public:
property Nullable<Color> ForegroundColor {
Nullable<Color> get ();
protected: void set (Nullable<Color> value);
}
member ForegroundColor : Nullable<Color> with get, set
function get ForegroundColor () : Nullable<Color>
protected function set ForegroundColor (value : Nullable<Color>)
Property Value
Type: System.Nullable<Color>
The foreground color.
Remarks
If the foreground brush is set, this color will be ignored.
.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.