RichTextBlock.FontFamily Property


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

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

Public Property FontFamily As FontFamily

Property Value

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

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


Supported in: 5

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

Community Additions