Dela via


Typography.GetNumeralStyle(DependencyObject) Method

Definition

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

public:
 static FontNumeralStyle GetNumeralStyle(DependencyObject ^ element);
 static FontNumeralStyle GetNumeralStyle(DependencyObject const& element);
public static FontNumeralStyle GetNumeralStyle(DependencyObject element);
function getNumeralStyle(element)
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.

Applies to

See also