Use the members of this enumeration when calling the ListView.GetItemRect(int) method of the System.Windows.Forms.ListView control. This enumeration is also used when calling the ListViewItem.GetBounds(ItemBoundsPortion) method of the System.Windows.Forms.ListViewItem class.
Member Name | Description |
---|---|
Entire |
The bounding rectangle of the entire item, including the icon, the item text, and the subitem text (if displayed), should be retrieved. |
Icon |
The bounding rectangle of the icon or small icon should be retrieved. |
ItemOnly |
The bounding rectangle of the icon or small icon and the item text should be retrieved. In all views except the details view of the System.Windows.Forms.ListView, this value specifies the same bounding rectangle as the Entire value. In details view, this value specifies the bounding rectangle specified by the Entire value without the subitems. If the ListView.CheckBoxes property is set to true, this property does not include the area of the check boxes in its bounding rectangle. To include the entire item, including the check boxes, use the Entire value when calling the ListView.GetItemRect(int) method. |
Label |
The bounding rectangle of the item text should be retrieved. |