Typography.GetNumeralStyle(DependencyObject) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳指定相依物件所附屬性的 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 當前值。
- 屬性