Interface ICustomKeyboardNavigation
Designates a control as handling its own keyboard navigation.
public interface ICustomKeyboardNavigation
Methods
GetNext(IInputElement, NavigationDirection)
Gets the next element in the specified navigation direction.
(bool handled, IInputElement? next) GetNext(IInputElement element, NavigationDirection direction)
Parameters
element
IInputElementThe element being navigated from.
direction
NavigationDirectionThe navigation direction.
Returns
- (bool handled, IInputElement next)
A tuple consisting of:
- A boolean indicating whether the request was handled. If false is returned then custom navigation will be ignored and default navigation will take place.
- If handled is true: the next element in the navigation direction, or null if default navigation should continue outside the element.