Share via


RichTextBlock.FontFamily Property

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

Gets or sets the font used to display text in the control.

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

Syntax

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

Property Value

Type: System.Windows.Media.FontFamily
The font used to display text in the control. The default is the "Portable User Interface".

Remarks

"Portable User Interface" is a composite font that uses a number of fonts to implement the range of international languages supported by Silverlight, including for example "Lucida Sans Unicode" and "Lucida Grande" for many western writing systems, and many more for East Asian writing systems.Restrictions apply when specifying a font file or a zip file containing font files. See Text and Fonts for details.

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.