語言

Typography.SetNumeralStyle(DependencyObject, FontNumeralStyle) 方法

定義

設定指定相依物件附加屬性的值 NumeralStyle 。

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

參數

element
DependencyObject

是用來設定屬性值 NumeralStyle 的相依物件。

value
FontNumeralStyle

設定屬性的新值。

例外狀況

當 是 element時 。null

適用於

另請參閱