Glyphs.FontSource Property

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

Gets or sets the font source that is applied to the Glyphs for rendering content.

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

Syntax

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

Property Value

Type: System.Windows.Documents.FontSource
The font source used to render content in the Glyphs. The default is a null reference (Nothing in Visual Basic).

Remarks

If the FontSource property is set to a null reference (Nothing in Visual Basic), any assigned custom font is cleared and the Glyphs renders with the default font.

Version Information

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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