Export (0) Print
Expand All
Expand Minimize

Typography.GetVariants Method

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

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)

public static FontVariants GetVariants(
	DependencyObject element
)

Parameters

element
Type: System.Windows.DependencyObject
The dependency object for which to retrieve the value of the Variants property.

Return Value

Type: System.Windows.FontVariants
The current value of the Variants attached property on the specified dependency object.

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft