All pages
Powered by GitBook
1 of 1

Loading...

ItemClickEventArgs

Wisej.Web.ItemClickEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

Provides data for the ItemClick event.

public class ItemClickEventArgs : EventArgs
Public Class ItemClickEventArgs
    Inherits EventArgs

Constructors

ItemClickEventArgs(item, button, clicks)

Initializes a new instance of the class.

Name
Type
Description

Properties

Button

: Returns which mouse button was pressed.

Clicks

: Returns the number of clicks or taps.

Item

: Returns the item that was clicked or tapped.

Role

: 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

item

ListViewItem

The ListViewItem the mouse pointer is currently hovering over.

button

MouseButtons

One of the MouseButtons values that indicate which mouse button was pressed.

clicks

Int32

The number of times a mouse button was pressed.

ItemClickEventHandler

Represents the method that will handle the ItemClick event of a ListView.

ItemClickEventArgs
MouseButtons
Int32
ListViewItem
String