語言

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 的相依物件。

傳回

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

屬性

適用於

另請參閱