ItemClickEventArgs
Wisej.Web.ItemClickEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Provides data for the ItemClick event.
Constructors
ItemClickEventArgs(item, button, clicks)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Initializes a new instance of the ItemClickEventArgs class.
Name | Type | Description |
---|---|---|
item | The ListViewItem the mouse pointer is currently hovering over. | |
button | One of the MouseButtons values that indicate which mouse button was pressed. | |
clicks | The number of times a mouse button was pressed. |
Properties
Button
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
MouseButtons: Returns which mouse button was pressed.
Clicks
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Int32: Returns the number of clicks or taps.
Item
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
ListViewItem: Returns the item that was clicked or tapped.
Role
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
String: Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...
The value in the Role property is taken from the "role" attribute of the clicked element inside the cell. You can detect clicks on custom HTML content by adding the role attribute to the custom element.
Used By
Name | Description |
---|---|
Last updated