FontStyle Enum

Definition

Represents the style of a font face (for example, normal or italic).

public enum class FontStyle
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FontStyle
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FontStyle
var value = Windows.UI.Text.FontStyle.normal
Public Enum FontStyle
<object property="fontStyleMemberName"/>
Inheritance
FontStyle
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Italic 2

Represents an italic font style.

Normal 0

Represents a normal font style.

Oblique 1

Represents an oblique font style.

Applies to

See also