We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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.

Show: