編輯

共用方式為


FontFamilyMap.Language Property

Definition

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

public:
 property System::Windows::Markup::XmlLanguage ^ Language { System::Windows::Markup::XmlLanguage ^ get(); void set(System::Windows::Markup::XmlLanguage ^ value); };
public System.Windows.Markup.XmlLanguage Language { get; set; }
member this.Language : System.Windows.Markup.XmlLanguage with get, set
Public Property Language As XmlLanguage

Property Value

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

Examples

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

Remarks

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.

Applies to