Fraction Attached Property
Collapse the table of content
Expand the table of content

Typography.Fraction Attached Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
See GetFraction, SetFraction

Property Value

Type: System.Windows.FontFraction
A FontFraction enumerated value. The default value is Normal.

This property gets or sets a value on the object that owns a Typography property, which is the only way to access a Typography class instance. In addition, this property supports an attached property usage so that it can be set on text-containing objects in XAML.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft