Class ItemHoverEventArgs
Represents the event arguments for item hover related events.
Inheritance
Inherited Members
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
[Serializable]
[ComVisible(true)]
public class ItemHoverEventArgs : EventArgs
Constructors
| Improve this Doc View SourceItemHoverEventArgs(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 SourceItem
Gets the currently hovered ImageListViewItem. Returns null if there is no hovered item.
Declaration
public ImageListViewItem Item { get; }
Property Value
Type | Description |
---|---|
ImageListViewItem |
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 |
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 |
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 |