# ColumnClickEventArgs

Namespace: **Wisej.Web**

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

Provides data for the [ColumnClick](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#columnclick) event.

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

```csharp
public class ColumnClickEventArgs : EventArgs
```

{% endtab %}

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

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

{% 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) ColumnClickEventArgs(column)

Initializes a new instance of the [ColumnClickEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.columnclickeventargs) class.

| Name       | Type                                                        | Description                                         |
| ---------- | ----------------------------------------------------------- | --------------------------------------------------- |
| **column** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32) | The zero-based index of the column that is clicked. |

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

Initializes a new instance of the [ColumnClickEventArgs](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.columnclickeventargs) class.

| Name       | Type                                                                                     | Description                                                                                                                                              |
| ---------- | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **column** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                              | The zero-based index of the column that is clicked.                                                                                                      |
| **button** | [MouseButtons](https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.mousebuttons) | One of the [MouseButtons](https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.mousebuttons) values that indicate which mouse button was pressed. |
| **clicks** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                              | The number of times a mouse button was pressed.                                                                                                          |

## 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) Button

[MouseButtons](https://docs.wisej.com/api/wisej.web/enumerations/wisej.web.mousebuttons): Returns which mouse button was pressed.

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

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the number of clicks or taps.

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

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the zero-based index of the column that is clicked.

## Used By

| Name                                                                                                                       | Description                                                                                                                                                                                                                  |
| -------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [ColumnClickEventHandler](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/wisej.web.columnclickeventhandler) | Represents the method that will handle the [ColumnClick](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview/..#columnclick) event of a [ListView](https://docs.wisej.com/api/wisej.web/lists-and-grids/listview). |
