共用方式為


KeyboardNavigation.SetTabNavigation 方法

定義

設定指定之項目的 TabNavigation 附加屬性值。

public:
 static void SetTabNavigation(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardNavigationMode mode);
public static void SetTabNavigation (System.Windows.DependencyObject element, System.Windows.Input.KeyboardNavigationMode mode);
static member SetTabNavigation : System.Windows.DependencyObject * System.Windows.Input.KeyboardNavigationMode -> unit
Public Shared Sub SetTabNavigation (element As DependencyObject, mode As KeyboardNavigationMode)

參數

element
DependencyObject

要設定附加屬性的項目。

mode
KeyboardNavigationMode

要設定的屬性值。

例外狀況

elementnull

適用於

另請參閱