使用英语阅读

通过


EditorFormatDefinition.BackgroundBrush Property

Gets or sets the background brush for this item.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

声明
Public Property BackgroundBrush As Brush
public Brush BackgroundBrush { get; protected set; }
public:
property Brush^ BackgroundBrush {
    Brush^ get ();
    protected: void set (Brush^ value);
}
member BackgroundBrush : Brush with get, set
function get BackgroundBrush () : Brush
protected function set BackgroundBrush (value : Brush)

Property Value

Type: System.Windows.Media.Brush
The background brush.

Remarks

This brush will override any background color that is set.

.NET Framework Security

See Also

Reference

EditorFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace