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

适用于

另请参阅