Typography.GetContextualAlternates(DependencyObject) 方法

定義

傳回所指定相依性物件的 ContextualAlternates 附加屬性值。

public:
 static bool GetContextualAlternates(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetContextualAlternates (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetContextualAlternates : System.Windows.DependencyObject -> bool
Public Shared Function GetContextualAlternates (element As DependencyObject) As Boolean

參數

element
DependencyObject

要擷取 ContextualAlternates 屬性值的相依性物件。

傳回

Boolean

所指定相依性物件上 ContextualAlternates 附加屬性的目前值。

屬性

適用於

另請參閱