# WisejEventArgs

Namespace: **Wisej.Core**

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

Default arguments for Wisej events.

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

```csharp
public class WisejEventArgs
```

{% endtab %}

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

```visual-basic
Public Class WisejEventArgs
```

{% endtab %}
{% endtabs %}

## Constructors

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

Creates a new instance of [WidgetEventArgs](https://docs.wisej.com/api/wisej.web/general/control/wisej.web.widgeteventargs).

| Name       | Type                                                                                           | Description           |
| ---------- | ---------------------------------------------------------------------------------------------- | --------------------- |
| **target** | [IWisejComponent](https://docs.wisej.com/api/wisej.core/interfaces/wisej.core.iwisejcomponent) | The target component. |
| **type**   | [String](https://docs.microsoft.com/dotnet/api/system.string)                                  | The event type.       |
| **args**   | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                  | Event arguments.      |

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

Creates a new instance of WisejEventArgs using the incoming event data.

| Name  | Type                                                          | Description                              |
| ----- | ------------------------------------------------------------- | ---------------------------------------- |
| **e** | [Object](https://docs.microsoft.com/dotnet/api/system.object) | The event data received from the client. |

## Fields

| Name               | Type                                                                                                                | Description                                  |
| ------------------ | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
| **Keyboard**       | [KeyboardInfo](https://docs.wisej.com/api/wisej.core/general/wisejeventargs/wisej.core.wisejeventargs.keyboardinfo) | Keyboard information.                        |
| **OriginalTarget** | [IWisejComponent](https://docs.wisej.com/api/wisej.core/interfaces/wisej.core.iwisejcomponent)                      | Returns the original target of the event.    |
| **Parameters**     | [Object](https://docs.microsoft.com/dotnet/api/system.object)                                                       | Event parameters.                            |
| **Pointer**        | [PointerInfo](https://docs.wisej.com/api/wisej.core/general/wisejeventargs/wisej.core.wisejeventargs.pointerinfo)   | Pointer information.                         |
| **Role**           | [String](https://docs.microsoft.com/dotnet/api/system.string)                                                       | The "role" attribute of the clicked element. |
| **Target**         | [IWisejComponent](https://docs.wisej.com/api/wisej.core/interfaces/wisej.core.iwisejcomponent)                      | Target component.                            |
| **Type**           | [String](https://docs.microsoft.com/dotnet/api/system.string)                                                       | Event type.                                  |
