Gets or sets the font source that is applied to the text for rendering content.
Assembly: System.Windows (in System.Windows.dll)
For the TextBlock element, Silverlight selects the font from the following sources:
From supported local fonts.
From the fonts that are provided in a packaged file that is referenced in the FontFamily property.
From the zip or .ttf file passed as a stream to the property.
The font that is selected is the best match based on the values of the FontFamily, FontStretch, FontStyle, and FontWeight properties. It is important to specify all four of these font properties to make sure that an accurate and consistent font selection is made for the TextBlock.
If the property is set to null, any assigned custom font is cleared and the TextBlock renders with the default font.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.