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

适用于

另请参阅