语言

Typography.GetNumeralStyle(DependencyObject) 方法

定义

返回指定依赖对象的附加属性的值 NumeralStyle 。

public:
 static System::Windows::FontNumeralStyle GetNumeralStyle(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.FontNumeralStyle GetNumeralStyle(System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetNumeralStyle : System.Windows.DependencyObject -> System.Windows.FontNumeralStyle
Public Shared Function GetNumeralStyle (element As DependencyObject) As FontNumeralStyle

参数

element
DependencyObject

要为其检索属性值的 NumeralStyle 依赖项对象。

返回

指定依赖对象的附加属性的 NumeralStyle 当前值。

特性

适用于

另请参阅