KeyboardNavigation.SetDirectionalNavigation Method (DependencyObject, KeyboardNavigationMode)

 

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

Namespace:   System.Windows.Input
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static void SetDirectionalNavigation(
	DependencyObject element,
	KeyboardNavigationMode mode
)

Parameters

element
Type: System.Windows.DependencyObject

Element on which to set the attached property.

mode
Type: System.Windows.Input.KeyboardNavigationMode

Property value to set.

Exception Condition
ArgumentNullException

element is null.

.NET Framework
Available since 3.0
Return to top
Show: