KeyboardNavigation.GetDirectionalNavigation(DependencyObject) 方法

定义

获取指定元素的 DirectionalNavigation 附加属性值。

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

参数

element
DependencyObject

从中获取附加属性的元素。

返回

DirectionalNavigation 属性的值。

属性

例外

elementnull

适用于

另请参阅