Provides a set of predefined font styles as static property values.
Public NotInheritable Class FontStyles
public static class FontStyles
See Remarks.
The FontStyles type exposes the following members.
A font style refers to the slant of a font. Silverlight 5 implements Italic or Normal.
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.
WPF supports a FontStyles value of Oblique. Silverlight 5 does not support an Oblique value.
For more information on XAML usage, see FontStyle. FontStyle is the value type for Silverlight 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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.