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

適用於

另請參閱