共用方式為


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

要設定屬性的目標新值。

適用於

另請參閱