共用方式為


Fonts.SystemTypefaces Property

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

Gets the collection of Typeface objects from the default system font location.

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

Syntax

'Declaration
Public Shared ReadOnly Property SystemTypefaces As ICollection(Of Typeface)
public static ICollection<Typeface> SystemTypefaces { get; }

Property Value

Type: System.Collections.Generic.ICollection<Typeface>
An collection of Typeface objects that represent the fonts in the system fonts collection.

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.