共用方式為


EditorFormatDefinition.BackgroundCustomizable 屬性

判斷此格式的背景是否可自訂。

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

語法

'宣告
Public Property BackgroundCustomizable As Nullable(Of Boolean)
public Nullable<bool> BackgroundCustomizable { get; protected set; }
public:
property Nullable<bool> BackgroundCustomizable {
    Nullable<bool> get ();
    protected: void set (Nullable<bool> value);
}
member BackgroundCustomizable : Nullable<bool> with get, set
function get BackgroundCustomizable () : Nullable<boolean>
protected function set BackgroundCustomizable (value : Nullable<boolean>)

屬性值

類型:Nullable<Boolean>
true 如果這種格式的背景是可自訂的否則false。

.NET Framework 安全性

請參閱

參考

EditorFormatDefinition 類別

Microsoft.VisualStudio.Text.Classification 命名空間