Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

FontStyles.Italic Property

Definition

Namespace:
System.Windows
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies an italic FontStyle.

public:
 static property System::Windows::FontStyle Italic { System::Windows::FontStyle get(); };
public static System.Windows.FontStyle Italic { get; }
static member 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


Feedback

Was this page helpful?