FontVariants Enum

Definition

Describes a font variant value for the Typography.Variants attached property.

public enum class FontVariants
enum FontVariants
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.WebHostHidden]
public enum FontVariants
Public Enum FontVariants
<object property="enumMemberName"/>
 
Inheritance
FontVariants
Attributes

Windows 10 requirements

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

Fields

Inferior 4

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

Normal 0

Default font behavior. Font scaling and positioning is normal.

Ordinal 3

Replaces a default glyph with an ordinal glyph, or it might 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 5

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

Subscript 2

Replaces a default glyph with a subscript glyph.

Superscript 1

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

Remarks

This enumeration is used by the Typography.Variants attached property.

Some fonts might support a subset of variant values, or ignore the setting completely.

Some fonts might also algorithmically approximate a font form instead of supporting Typography.Variants.

Applies to

See also