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 時引發。

適用於

另請參閱