Export (0) Print
Expand All
Expand Minimize

ItemBoundsPortion Enumeration

Specifies a portion of the list view item from which to retrieve the bounding rectangle.

[Visual Basic]
<Serializable>
Public Enum ItemBoundsPortion
[C#]
[Serializable]
public enum ItemBoundsPortion
[C++]
[Serializable]
__value public enum ItemBoundsPortion
[JScript]
public
   Serializable
enum ItemBoundsPortion

Remarks

Use the members of this enumeration when calling the GetItemRect method of the ListView control. This enumeration is also used when calling the GetBounds method of the ListViewItem class.

Members

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 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 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 GetItemRect method.
Label The bounding rectangle of the item text should be retrieved.

Requirements

Namespace: System.Windows.Forms

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

Assembly: System.Windows.Forms (in System.Windows.Forms.dll)

See Also

System.Windows.Forms Namespace | ListView | GetItemRect | ListViewItem | GetBounds

Show:
© 2014 Microsoft