Summary
Converts a keypress into a
NavigationDirection
.
- Namespace
- Avalonia
.Input - Containing Type
- Navigation
Direction Extensions
Syntax
public static NavigationDirection? ToNavigationDirection(this Key key, KeyModifiers modifiers = None)
Parameters
Name | Type | Description |
---|---|---|
key | Key | The key. |
modifiers | KeyModifiers | The keyboard modifiers. |
Return Value
Type | Description |
---|---|
NavigationDirection? |
A NavigationDirection if the keypress represents a navigation keypress.
|