Inline.FontStretch Property

Gets or sets the glyph width of the font in a family to select.

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

Syntax

'Declaration
Public Property FontStretch As FontStretch
    Get
    Set
'Usage
Dim instance As Inline
Dim value As FontStretch

value = instance.FontStretch

instance.FontStretch = value
public FontStretch FontStretch { get; set; }
<inline FontStretch="fontStretchesValue"/>

XAML Values

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

Property Value

Type: System.Windows.FontStretch
One of the FontStretches property values, specifying the desired font stretch. The default is FontStretches.Normal.

Remarks

Dependency property identifier field: FontStretchProperty

This property can select only from fonts that exist in a font family. It does not cause programmatic stretching of glyphs. 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.

For the set of preconfigured font stretches, see FontStretches.

Version Information

Silverlight

Supported in: 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0

Platforms

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

See Also

Reference

Inline Class

System.Windows.Documents Namespace

FontFamily

FontSize

FontStyle

FontWeight

FontStretches

Other Resources

Text and Fonts