語言

KeyboardNavigation.GetTabNavigation(DependencyObject) 方法

定義

取得指定元素附加屬性 TabNavigation 的值。

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

參數

element
DependencyObject

從中取得附加財產的元素。

傳回

房產的 TabNavigation 價值。

屬性

例外狀況

element 是 null。

適用於

另請參閱