Aracılığıyla paylaş


Typography.GetVariants(DependencyObject) Yöntem

Tanım

Belirtilen bağımlılık nesnesi için ekli ö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

FontVariants

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

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.