Typography.SetEastAsianLanguage 方法

定义

设置指定依赖对象的 EastAsianLanguage 附加属性的值。

public:
 static void SetEastAsianLanguage(System::Windows::DependencyObject ^ element, System::Windows::FontEastAsianLanguage value);
public static void SetEastAsianLanguage (System.Windows.DependencyObject element, System.Windows.FontEastAsianLanguage value);
static member SetEastAsianLanguage : System.Windows.DependencyObject * System.Windows.FontEastAsianLanguage -> unit
Public Shared Sub SetEastAsianLanguage (element As DependencyObject, value As FontEastAsianLanguage)

参数

element
DependencyObject

要为其设置 EastAsianLanguage 属性值的依赖对象。

value
FontEastAsianLanguage

要将此属性设为的新值。

例外

elementnull 时引发。

适用于

另请参阅