Show / Hide Table of Contents

Class ItemHoverEventArgs

Represents the event arguments for item hover related events.

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

Constructors

| Improve this Doc View Source

ItemHoverEventArgs(ImageListViewItem, Int32, ImageListViewItem, Int32)

Initializes a new instance of the ItemEventArgs class.

Declaration
public ItemHoverEventArgs(ImageListViewItem item, int subItemIndex, ImageListViewItem previousItem, int previousSubItemIndex)
Parameters
Type Name Description
ImageListViewItem item

The currently hovered item.

System.Int32 subItemIndex

The index of the hovered sub item.

ImageListViewItem previousItem

The previously hovered item.

System.Int32 previousSubItemIndex

The index of the sub item that was previously hovered.

Properties

| Improve this Doc View Source

Item

Gets the currently hovered ImageListViewItem. Returns null if there is no hovered item.

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

PreviousItem

Gets the ImageListViewItem that was previously hovered. Returns null if there was no previously hovered item.

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

PreviousSubItemIndex

Gets the index of the sub item that was previously hovered. 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 PreviousSubItemIndex { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

SubItemIndex

Gets the index of the hovered sub item. 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
Back to top Copyright © 2018 Özgür Özçıtak