FontVariants FontVariants FontVariants Enum

Describes a font variant value for the VariantsProperty attached property.

Syntax

Declaration

public enum FontVariantspublic enum FontVariantsPublic Enum FontVariants
<object property="enumMemberName"/>
 

Remarks

This enumeration is used by the VariantsProperty attached property.

Fields

Inferior
Inferior
Inferior
Inferior

Replaces a default glyph with an inferior glyph, or it may combine glyph substitution with positioning adjustments for proper placement. Inferior forms are typically used in chemical formulas or mathematical notation.

Normal
Normal
Normal
Normal

Default font behavior. Font scaling and positioning is normal.

Ordinal
Ordinal
Ordinal
Ordinal

Replaces a default glyph with an ordinal glyph, or it may combine glyph substitution with positioning adjustments for proper placement. Ordinal forms are normally associated with numeric notation of an ordinal word, such as "1st" for "first".

Ruby
Ruby
Ruby
Ruby

Replaces a default glyph with a smaller Japanese Kana glyph. This is used to clarify the meaning of Kanji, which may be unfamiliar to the reader.

Subscript
Subscript
Subscript
Subscript

Replaces a default glyph with a subscript glyph.

Superscript
Superscript
Superscript
Superscript

Replaces a default glyph with a superscript glyph. Superscript is commonly used for footnotes.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.dll