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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.