Edit

Share via


KeyboardNavigation.SetDirectionalNavigation Method

Definition

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

public:
 static void SetDirectionalNavigation(System::Windows::DependencyObject ^ element, System::Windows::Input::KeyboardNavigationMode mode);
public static void SetDirectionalNavigation (System.Windows.DependencyObject element, System.Windows.Input.KeyboardNavigationMode mode);
static member SetDirectionalNavigation : System.Windows.DependencyObject * System.Windows.Input.KeyboardNavigationMode -> unit
Public Shared Sub SetDirectionalNavigation (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