共用方式為


EditorFormatDefinition.ForegroundCustomizable 屬性

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

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

語法

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

屬性值

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

.NET Framework 安全性

請參閱

參考

EditorFormatDefinition 類別

Microsoft.VisualStudio.Text.Classification 命名空間