Edit

Share via


KeyboardNavigation.SetControlTabNavigation Method

Definition

Sets the value of the ControlTabNavigation attached property for the specified element.

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)

Parameters

element
DependencyObject

Element on which to set the attached property.

mode
KeyboardNavigationMode

The property value to set.

Exceptions

element is null.

Applies to

See also