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 屬性的值。

屬性

例外狀況

elementnull

適用於

另請參閱