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)

public Nullable<Color> ForegroundColor { get; protected set; }

Property Value

Type: System.Nullable<Color>
The foreground color.

If the foreground brush is set, this color will be ignored.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft