Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Control.FontStretch Property

Gets or sets the degree to which a font is condensed or expanded on the screen.

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

public FontStretch FontStretch { get; set; }
<control FontStretch="fontStretchesValue"/>

XAML Values

fontStretchesValue

A FontStretches property name, such as Condensed, Normal, or Expanded.

Property Value

Type: System.Windows.FontStretch
One of the values that specifies the degree to which a font is condensed or expanded on the screen. The default is FontStretches.Normal.

Dependency property identifier field: FontStretchProperty

This property can only select from fonts that exist in a font family. It does not cause programmatic stretching of glyphs.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2015 Microsoft