FontStretches Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides a set of predefined font stretches as static property values.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
The FontStretches type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | Condensed | Specifies a condensed font stretch. |
![]() ![]() | Expanded | Specifies an expanded font stretch. |
![]() ![]() | ExtraCondensed | Specifies an extra-condensed font stretch. |
![]() ![]() | ExtraExpanded | Specifies an extra-expanded font stretch. |
![]() ![]() | Normal | Specifies a normal font stretch. |
![]() ![]() | SemiCondensed | Specifies a semi-condensed font stretch. |
![]() ![]() | SemiExpanded | Specifies a semi-expanded font stretch. |
![]() ![]() | UltraCondensed | Specifies an ultra-condensed font stretch. |
![]() ![]() | UltraExpanded | Specifies an ultra-expanded font stretch. |
A font stretch describes the degree to which a font form is stretched from its normal aspect ratio, which is the original width to height ratio specified for the glyphs in the font.
The FontStretches values correspond to the usWidthClass definition in the OpenType specification. The usWidthClass represents an integer value between 1 and 9. Lower numeric values indicate narrower widths; higher values indicate wider widths.
FontStretches Static Property Names
Font stretch | usWidthClass | % of normal |
|---|---|---|
1 | 50% | |
2 | 62.5% | |
3 | 75% | |
4 | 87.5% | |
5 | 100% | |
6 | 112.5% | |
7 | 125% | |
8 | 150% | |
9 | 200% |
For more information on XAML usage, see FontStretch. You must use static properties of FontStretches to specify a FontStretch value. In XAML, you specify the name of a FontStretches property as the attribute value. This functionality is enabled by native XAML parsing behavior that processes the string value.

