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
'Declaration
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)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.