Typography.SetNumeralAlignment(DependencyObject, FontNumeralAlignment) 方法

定义

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

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

参数

element
DependencyObject

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

value
FontNumeralAlignment

要将此属性设为的新值。

例外

elementnull 时引发。

适用于

另请参阅