KeyboardNavigation.GetDirectionalNavigation Method

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

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

[AttachedPropertyBrowsableForTypeAttribute(typeof(DependencyObject))]
public static KeyboardNavigationMode GetDirectionalNavigation(
	DependencyObject element
)

Parameters

element
Type: System.Windows.DependencyObject

Element from which to get the attached property.

Return Value

Type: System.Windows.Input.KeyboardNavigationMode
The value of the DirectionalNavigation property.

ExceptionCondition
ArgumentNullException

element is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft