Typography.GetVariants(DependencyObject) Typography.GetVariants(DependencyObject) Typography.GetVariants(DependencyObject) Typography.GetVariants(DependencyObject) Method

Definition

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

public : static FontVariants GetVariants(DependencyObject element)
static FontVariants GetVariants(DependencyObject element) const;
public static FontVariants GetVariants(DependencyObject element)
Public Shared Function GetVariants(element As DependencyObject) As FontVariants

Parameters

element
DependencyObject DependencyObject

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

Returns

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