KeyboardNavigation.SetTabNavigation Method

Definition

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

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)

Parameters

element
DependencyObject

Element on which to set the attached property.

mode
KeyboardNavigationMode

Property value to set.

Exceptions

element is null.

Applies to

See also