Edit

Share via


Typography.GetNumeralStyle(DependencyObject) Method

Definition

Returns the value of the NumeralStyle attached property for a specified dependency object.

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

Parameters

element
DependencyObject

The dependency object for which to retrieve the value of the NumeralStyle property.

Returns

The current value of the NumeralStyle attached property on the specified dependency object.

Attributes

Applies to

See also