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 {

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.

.NET Framework
Available since 3.0
Return to top