In The Hand LtdIn The Hand
GetItemRect Method (listView, index, portion)
NamespacesInTheHand.Windows.FormsListViewHelperGetItemRect(ListView, Int32, ItemBoundsPortion)
.NET Components for Mobility
Retrieves the specified portion of the bounding rectangle for a specific item within the list view control.
Declaration Syntax
C#Visual Basic
public static Rectangle GetItemRect(
	ListView listView,
	int index,
	ItemBoundsPortion portion
)
Public Shared Function GetItemRect ( _
	listView As ListView, _
	index As Integer, _
	portion As ItemBoundsPortion _
) As Rectangle
Parameters
listView (ListView)
The ListView control.
index (Int32)
The zero-based index of the item within the ListView..::..ListViewItemCollection whose bounding rectangle you want to return.
portion (ItemBoundsPortion)
One of the ItemBoundsPortion values that represents a portion of the ListViewItem for which to retrieve the bounding rectangle.
Return Value
A Rectangle that represents the bounding rectangle for the specified portion of the specified ListViewItem.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0