共用方式為


EditorFormatDefinition.BackgroundBrush 屬性

取得或設定此項目的背景筆刷。

命名空間:  Microsoft.VisualStudio.Text.Classification
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
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)

屬性值

類型:Brush
背景筆刷。

備註

這個筆刷,將會覆寫設定的任何背景色彩。

.NET Framework 安全性

請參閱

參考

EditorFormatDefinition 類別

Microsoft.VisualStudio.Text.Classification 命名空間