Typography.GetVariants(DependencyObject) Metoda

Definice

Vrátí hodnotu Variants připojené vlastnosti pro zadaný objekt závislosti.

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

Parametry

element
DependencyObject

Objekt závislosti, pro který chcete načíst hodnotu Variants vlastnosti.

Návraty

FontVariants

Aktuální hodnota Variants připojené vlastnosti u zadaného objektu závislosti.

Atributy

Platí pro

Viz také