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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。