Επεξεργασία

Κοινή χρήση μέσω


Typography.GetVariants(DependencyObject) Method

Definition

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

public:
 static System::Windows::FontVariants GetVariants(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.FontVariants GetVariants (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetVariants : System.Windows.DependencyObject -> System.Windows.FontVariants
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.

Attributes

Applies to

See also