Typography.SetNumeralAlignment(DependencyObject, FontNumeralAlignment) 方法

定义

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

public:
 static void SetNumeralAlignment(DependencyObject ^ element, FontNumeralAlignment value);
 static void SetNumeralAlignment(DependencyObject const& element, FontNumeralAlignment const& value);
public static void SetNumeralAlignment(DependencyObject element, FontNumeralAlignment value);
function setNumeralAlignment(element, value)
Public Shared Sub SetNumeralAlignment (element As DependencyObject, value As FontNumeralAlignment)

参数

element
DependencyObject

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

value
FontNumeralAlignment

要将此属性设为的新值。

适用于

另请参阅