共用方式為


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

要設定屬性的目標新值。

適用於

另請參閱