Show / Hide Table of Contents

Class ItemClickEventArgs

Represents the event arguments for item click related events.

Inheritance
System.Object
System.EventArgs
ItemClickEventArgs
Inherited Members
System.EventArgs.Empty
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
[Serializable]
[ComVisible(true)]
public class ItemClickEventArgs : EventArgs

Constructors

| Improve this Doc View Source

ItemClickEventArgs(ImageListViewItem, Int32, Point, MouseButtons)

Initializes a new instance of the ItemClickEventArgs class.

Declaration
public ItemClickEventArgs(ImageListViewItem item, int subItemIndex, Point location, MouseButtons buttons)
Parameters
Type Name Description
ImageListViewItem item

The item that is the target of this event.

System.Int32 subItemIndex

Gets the index of the sub item under the hit point.

System.Drawing.Point location

The location of the mouse.

System.Windows.Forms.MouseButtons buttons

One of the System.Windows.Forms.MouseButtons values indicating which mouse button was pressed.

Properties

| Improve this Doc View Source

Buttons

Gets the state of the mouse buttons.

Declaration
public MouseButtons Buttons { get; }
Property Value
Type Description
System.Windows.Forms.MouseButtons
| Improve this Doc View Source

Item

Gets the ImageListViewItem that is the target of the event.

Declaration
public ImageListViewItem Item { get; }
Property Value
Type Description
ImageListViewItem
| Improve this Doc View Source

Location

Gets the coordinates of the cursor.

Declaration
public Point Location { get; }
Property Value
Type Description
System.Drawing.Point
| Improve this Doc View Source

SubItemIndex

Gets the index of the sub item under the hit point. The index returned is the 0-based index of the column as displayed on the screen, considering column visibility and display indices. Returns -1 if the hit point is not over a sub item.

Declaration
public int SubItemIndex { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

X

Gets the x-coordinates of the cursor.

Declaration
public int X { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Y

Gets the y-coordinates of the cursor.

Declaration
public int Y { get; }
Property Value
Type Description
System.Int32
Back to top Copyright © 2018 Özgür Özçıtak