EditorFormatDefinition.BackgroundColor Property

Gets or sets the background 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> BackgroundColor { get; protected set; }

Property Value

Type: System.Nullable<Color>
The background color

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

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