Typography.GetVariants(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.
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.