Note

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

Access to this page requires authorization. You can try .

FontStyle Enum

Definition

Namespace:
Windows.UI.Text

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.

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

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

Fields

Name Value Description
Normal 0

Represents a normal font style.

Oblique 1

Represents an oblique font style.

Italic 2

Represents an italic font style.

Applies to

See also


Feedback

Was this page helpful?