This documentation is archived and is not being maintained.

GlyphTypeface.SampleTexts Property

Gets the sample text information for the GlyphTypeface object.

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

public IDictionary<CultureInfo, string> SampleTexts { get; }
You cannot set this property in XAML.

Property Value

Type: System.Collections.Generic.IDictionary<CultureInfo, String>
An IDictionary<TKey, TValue> object that contains key/value pairs sample text information. The key is a CultureInfo object that identifies the culture. The value is a string that describes the sample text information.

The SampleTexts value can be the font name, or any other text that the designer thinks is the best sample to display the font in.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0