Språk

Typography.GetNumeralStyle(DependencyObject) Metod

Definition

Returnerar värdet för den NumeralStyle anslutna egenskapen för ett angivet beroendeobjekt.

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

Parametrar

element
DependencyObject

Beroendeobjektet som egenskapens värde ska hämtas NumeralStyle för.

Returer

Det aktuella värdet för den NumeralStyle anslutna egenskapen för det angivna beroendeobjektet.

Attribut

Gäller för

Se även