FontFraction Enumeration
Collapse the table of content
Expand the table of content

FontFraction Enumeration


Describes the fraction style for a Typography object.

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

Public Enumeration FontFraction

Member nameDescription

Default style is used.


Slashed fraction style is used.


Stacked fraction style is used.

OpenType fonts support styles for fractions, including slashed and stacked. The following text displays fraction styles for the Palatino Linotype font.

Text using OpenType slashed and stacked fractions

Example of slashed and stacked fraction styles


Most OpenType fonts expose only a subset of the total OpenType features available. If a specified font does not support a particular feature, the default glyphs are used instead.

The following code example shows how to define fraction styles for the Palatino Linotype font, using properties of the Typography object.

.NET Framework
Available since 3.0
Available since 5.0
Windows Phone Silverlight
Available since 8.0
Return to top
© 2015 Microsoft