Typography.GetNumeralStyle(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.