共用方式為


KeyboardNavigation.SetControlTabNavigation 方法

定義

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

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

參數

element
DependencyObject

要設定附加屬性的項目。

mode
KeyboardNavigationMode

要設定的屬性值。

例外狀況

elementnull

適用於

另請參閱