FontFraction FontFraction FontFraction Enum

Describes a fraction style value for the FractionProperty attached property.

Syntax

Declaration

public enum FontFractionpublic enum FontFractionPublic Enum FontFraction
<object property="enumMemberName"/>
 

Remarks

This enumeration is used by the FractionProperty attached property.

Generally, Microsoft OpenType fonts support styles for fractions, including slashed and stacked.

A slashed style is also known as a diagonal style. Usually the slashed style does have a baseline offset between the two numerals with the first appearing higher than the second, but exactly how large that offset is can depend on the font.

Fields

Normal
Normal
Normal
Normal

Default style is used.

Slashed
Slashed
Slashed
Slashed

Stacked fraction style is used.

Stacked
Stacked
Stacked
Stacked

Slashed fraction style is used.

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