FontFamilyMap.Language Property

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

Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public XmlLanguage Language { get; set; }
/** @property */
public XmlLanguage get_Language ()

/** @property */
public void set_Language (XmlLanguage value)

public function get Language () : XmlLanguage

public function set Language (value : XmlLanguage)

<object Language="XmlLanguage" .../>

Property Value

A XmlLanguage value representing the culture-specific language. The default value is a a null reference (Nothing in Visual Basic) 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");

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: