Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

FontStyles Class

Provides a set of predefined font styles as static property values.

System.Object
  System.Windows.FontStyles

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public static class FontStyles
See Remarks.

The FontStyles type exposes the following members.

  NameDescription
Public propertyStatic memberItalicSpecifies an italic font style.
Public propertyStatic memberNormalSpecifies a normal, or roman, font style.
Top

A font style refers to the slant of a font. Windows Phone implements Italic or Normal.

FontStyles Static Property Names

Font style

Description

Italic

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

Normal

The characters in a normal, or roman, font are upright.

Windows Phone does not support an Oblique value.

For more information on XAML usage, see FontStyle. FontStyle is the value type for Windows Phone properties or attributes that specify a font style value, but you must use static properties of FontStyles to provide a FontStyle value. In XAML, you specify the name of a FontStyles property as the attribute value. This functionality is enabled by native XAML parsing behavior that processes the string value.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Show:
© 2015 Microsoft