# SwipeEventArgs

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Provides data for [Swipe](https://docs.wisej.com/api/wisej.web/general/control/..#swipe) event.

{% tabs %}
{% tab title="C#" %}

```csharp
public class SwipeEventArgs : EventArgs
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class SwipeEventArgs
    Inherits EventArgs
```

{% endtab %}
{% endtabs %}

## Properties

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Axis

[SwipeAxis](https://docs.wisej.com/api/wisej.web/general/control/wisej.web.swipeaxis): Returns whether the performed swipe was on the x or y axis.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Direction

[SwipeDirection](https://docs.wisej.com/api/wisej.web/general/control/wisej.web.swipedirection): Returns the direction of the performed swipe in reference to the axis: X = Up / Down Y = Left / Right

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Distance

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the distance of the performed swipe.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Duration

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the duration the performed swipe took.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) StartTime

[Int64](https://docs.microsoft.com/dotnet/api/system.int64): Returns the start time of the performed swipe.

### ![](https://1075938901-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2HvlWXJQMV7DxhGzw7Y1%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media) Velocity

[Double](https://docs.microsoft.com/dotnet/api/system.double): Returns the velocity of the performed swipe.

## Used By

| Name                                                                                                  | Description                                                                                                              |
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| [SwipeEventHandler](https://docs.wisej.com/api/wisej.web/general/control/wisej.web.swipeeventhandler) | Represents the method that will handle the [Swipe](https://docs.wisej.com/api/wisej.web/general/control/..#swipe) event. |
