Partager via


RichTextBlock.FontStretch Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Property FontStretch As FontStretch
public FontStretch FontStretch { get; set; }

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 Normal.

Remarks

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

Version Information

Silverlight

Supported in: 5

Platforms

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