# StatusBarPanelClickEventArgs

Namespace: **Wisej.Web**

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

* [MouseEventArgs](https://docs.wisej.com/api/wisej.web/general/control/wisej.web.mouseeventargs)
  * [StatusBarPanelClickEventArgs](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanelclickeventargs)

Provides data for the [PanelClick](https://docs.wisej.com/api/wisej.web/containers/statusbar/..#panelclick) event.

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

```csharp
public class StatusBarPanelClickEventArgs : MouseEventArgs
```

{% endtab %}

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

```visual-basic
Public Class StatusBarPanelClickEventArgs
    Inherits MouseEventArgs
```

{% 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) StatusBarPanelClickEventArgs(statusBarPanel, button, clicks, x, y)

Initializes a new instance of the [StatusBarPanelClickEventArgs](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanelclickeventargs) class.

| Name               | Type                                                                                                 | Description                                                                                                                                                                                                                                                                         |
| ------------------ | ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **statusBarPanel** | [StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel) | The [StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel) that represents the panel that was 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 represents the mouse buttons that were clicked while over the [StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel). |
| **clicks**         | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The number of times that the mouse button was clicked.                                                                                                                                                                                                                              |
| **x**              | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The x-coordinate of the mouse click.                                                                                                                                                                                                                                                |
| **y**              | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The y-coordinate of the mouse click.                                                                                                                                                                                                                                                |

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

Initializes a new instance of the [StatusBarPanelClickEventArgs](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanelclickeventargs) class.

| Name               | Type                                                                                                 | Description                                                                                                                                                                                                                                                                         |
| ------------------ | ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **statusBarPanel** | [StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel) | The [StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel) that represents the panel that was 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 represents the mouse buttons that were clicked while over the [StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel). |
| **clicks**         | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The number of times that the mouse button was clicked.                                                                                                                                                                                                                              |
| **x**              | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The x-coordinate of the mouse click.                                                                                                                                                                                                                                                |
| **y**              | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)                                          | The y-coordinate of the mouse click.                                                                                                                                                                                                                                                |
| **role**           | [String](https://docs.microsoft.com/dotnet/api/system.string)                                        | The internal role assigned to the element that generated the pointer event.                                                                                                                                                                                                         |

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

Initializes a new instance of the [StatusBarPanelClickEventArgs](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanelclickeventargs) class.

| Name     | Type                                                                           | Description                                   |
| -------- | ------------------------------------------------------------------------------ | --------------------------------------------- |
| **args** | [WisejEventArgs](https://docs.wisej.com/api/wisej.core/general/wisejeventargs) | The event arguments received from the client. |

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

[StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel): Returns the [StatusBarPanel](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanel) to draw.

## Used By

| Name                                                                                                                                   | Description                                                                                                                                                                                                         |
| -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [StatusBarPanelClickEventHandler](https://docs.wisej.com/api/wisej.web/containers/statusbar/wisej.web.statusbarpanelclickeventhandler) | Represents the method that will handle the [PanelClick](https://docs.wisej.com/api/wisej.web/containers/statusbar/..#panelclick) event of a [StatusBar](https://docs.wisej.com/api/wisej.web/containers/statusbar). |
