次の方法で共有


ClassificationFormatDefinition.FontTypeface Property

Gets or sets the Typeface for this classification format.

Namespace:  Microsoft.VisualStudio.Text.Classification
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'宣言
Public Property FontTypeface As Typeface
    Get
    Protected Set
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)

Property Value

Type: System.Windows.Media.Typeface
The typeface.

Remarks

Certain values (bold, italic) in this typeface can be overridden by other format definitions that have a higher priority.

.NET Framework Security

See Also

Reference

ClassificationFormatDefinition Class

Microsoft.VisualStudio.Text.Classification Namespace