System.Windows.Forms.ListViewItem.GetSubItemAt Method

Returns the subitem of the System.Windows.Forms.ListViewItem at the specified coordinates.

Syntax

public ListViewItem.ListViewSubItem GetSubItemAt (int x, int y)

Parameters

x
The x-coordinate.
y
The y-coordinate.

Returns

The System.Windows.Forms.ListViewItem.ListViewSubItem at the specified x- and y-coordinates.

Remarks

The ListViewItem.GetSubItemAt(int, int) method will return null if the System.Windows.Forms.ListView is not in View.Details view, or there is not a System.Windows.Forms.ListViewItem.ListViewSubItem located at the specified point.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0