Typography.GetVariants(DependencyObject) Méthode

Définition

Retourne la valeur de la propriété jointe Variants pour un objet de dépendance spécifié.

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

Paramètres

element
DependencyObject

Objet de dépendance pour lequel récupérer la valeur de la propriété Variants.

Retours

FontVariants

Valeur actuelle de la propriété jointe Variants au niveau de l’objet de dépendance spécifié.

Attributs

S’applique à

Voir aussi