Freigeben über


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)

Syntax

'Declaration
Public Property BackgroundColor As Nullable(Of Color)
    Get
    Protected Set
public Nullable<Color> BackgroundColor { get; protected set; }
public:
property Nullable<Color> BackgroundColor {
    Nullable<Color> get ();
    protected: void set (Nullable<Color> value);
}
member BackgroundColor : Nullable<Color> with get, set
function get BackgroundColor () : Nullable<Color>
protected function set BackgroundColor (value : Nullable<Color>)

Property Value

Type: System.Nullable<Color>
The background color

Remarks

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

.NET Framework Security

See Also

Reference

EditorFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace