FontFamilyMap.Language Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the culture-specific language for the FontFamilyMap.

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

public XmlLanguage Language { get; set; }

Property Value

Type: System.Windows.Markup.XmlLanguage

A XmlLanguage value representing the culture-specific language. The default value is a null string.

The Language property can refer to one of the following:

  • A specific language if the FontFamilyMap applies to just that language.

  • A neutral language if it applies to a group of related languages.

  • An empty string if it applies to any language.

The default value is the empty string.

fontFamilyMap.Language = XmlLanguage.GetLanguage("en-uk");

.NET Framework
Available since 3.0
Return to top
Show: