Export (0) Print
Expand All
Expand Minimize

Typography.Variants Attached Property

Gets or sets a FontVariants enumerated value that indicates a variation of the standard typographic form to be used.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)

See GetVariants, SetVariants

Property Value

Type: System.Windows.FontVariants
A FontVariants enumerated value. The default value is Normal.

This property gets or sets a value on the object that owns a Typography property, which is the only way to access a Typography class instance. In addition, this property supports an attached property usage so that it can be set on text-containing objects in XAML.

Variants are similar to superscript or subscript font forms. It is possible for a font form to contain differing glyph sets between superscript and the ordinal form, or between subscript and inferior forms. The Variants property allows you to set superscript and subscript values for an OpenType font.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft