Wimark.Controls Class Library  

ListView.GetItemRect(ListViewItem, ItemBoundsPortion) Method

Retrieves the specified portion of the bounding rectangle for a specific item within the list view control.

[Visual Basic]
Overloads Public Function GetItemRect( _
   ByVal item As ListViewItem, _
   ByVal portion As ItemBoundsPortion _
) As Rectangle 
[C#]
public Rectangle GetItemRect( 
   ListViewItem item, 
   ItemBoundsPortion portion 
);
[C++]
public: Rectangle GetItemRect( 
   ListViewItem* item, 
   ItemBoundsPortion portion 
);

Parameters

item
The item within the ListView.ListViewItemCollection whose bounding rectangle you want to return.
portion
One of the ItemBoundsPortion values that represents a portion of the ListViewItem for which to retrieve the bounding rectangle.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

ListView Class | ListView Members | Wimark.Controls Namespace