FontStyles.Italic Property

Definition

Specifies an italic FontStyle.

public:
 static property System::Windows::FontStyle Italic { System::Windows::FontStyle get(); };
public static System.Windows.FontStyle Italic { get; }
member this.Italic : System.Windows.FontStyle
Public Shared ReadOnly Property Italic As FontStyle

Property Value

A value that represents an italic FontStyle.

Examples

In the following code example, the Italic property is used to return a FontStyle.

FontStyle fontStyle = FontStyles.Italic;
Dim fontStyle As FontStyle = FontStyles.Italic

Remarks

The characters in an italic font are truly slanted and appear as they were designed.

Applies to