共用方式為


ClassificationFormatDefinition.FontTypeface 屬性

取得或設定此分類格式的 Typeface

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

語法

'宣告
Public Property FontTypeface As Typeface
public Typeface FontTypeface { get; protected set; }
public:
property Typeface^ FontTypeface {
    Typeface^ get ();
    protected: void set (Typeface^ value);
}
member FontTypeface : Typeface with get, set
function get FontTypeface () : Typeface 
protected function set FontTypeface (value : Typeface)

屬性值

類型:Typeface
字樣。

備註

其他格式定義具有較高的優先順序可以覆寫這個字體中的某個值 (粗體、 斜體)。

.NET Framework 安全性

請參閱

參考

ClassificationFormatDefinition 類別

Microsoft.VisualStudio.Text.Classification 命名空間