語言

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 價值。

屬性

例外狀況

element 是 null。

適用於

另請參閱