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 const& element);
public static FontVariants GetVariants(DependencyObject element);
function getVariants(element)
Public Shared Function GetVariants (element As DependencyObject) As FontVariants

Parameters

element
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.

Applies to

See also