Skip to main content

IsTab Method

Checks whether a NavigationDirection represents a tab movement.

Definition​

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static bool IsTab(
this NavigationDirection direction
)

Parameters​

  NavigationDirection
The direction.

Return Value​

Boolean
True if the direction represents a tab movement (Next or Previous); otherwise false.

Usage Note​

In Visual Basic and C#, you can call this method as an instance method on any object of type NavigationDirection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also​

Reference​

NavigationDirectionExtensions Class
Avalonia.Input Namespace