IsTab Method
Checks whether a NavigationDirection represents a tab movement.
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool IsTab(
this NavigationDirection direction
)
<ExtensionAttribute>
Public Shared Function IsTab (
direction As NavigationDirection
) As Boolean
[<ExtensionAttribute>]
static member IsTab :
direction : NavigationDirection -> bool
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