FontFamilyMap.Language Property

 

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

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

Public Property Language As XmlLanguage

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: