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)

function get ForegroundColor () : Nullable<Color>
protected function set ForegroundColor (value : Nullable<Color>)

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
© 2014 Microsoft