Typography.Fraction attached property
TOC
Collapse the table of content
Expand the table of content

Typography.Fraction attached property

Gets or sets a FontFraction value that indicates the fraction style.


<object Typography.Fraction="fontFractionMemberName"/>

XAML Values

fontFractionMemberName

A named constant of the FontFraction enumeration, for example Normal.

Remarks

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

To set this attached property value in code, use the SetFraction method. To get this attached property value in code, use the GetFraction method.

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows.UI.Xaml.Documents

Metadata

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Documents

Metadata

Windows.winmd

See also

Typography

 

 

Show:
© 2017 Microsoft