NavigationDirectionExtensions.

IsDirectional(NavigationDirection) Method

Summary

Checks whether a NavigationDirection represents a directional movement.
Namespace
Avalonia.Input
Containing Type
NavigationDirectionExtensions

Syntax

public static bool IsDirectional(this NavigationDirection direction)

Parameters

Name Type Description
direction NavigationDirection The direction.

Return Value

Type Description
bool True if the direction represents a directional movement (any value except Next and Previous); otherwise false.