Typography.GetVariants(DependencyObject) Yöntem

Tanım

Belirtilen bir bağımlılık nesnesi için iliştirilmiş özelliğin Variants değerini döndürür.

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

Parametreler

element
DependencyObject

özelliğinin değerinin Variants alındığı bağımlılık nesnesi.

Döndürülenler

Belirtilen bağımlılık nesnesinde Variants ekli özelliğin geçerli değeri.

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.