Export (0) Print
Expand All

ListViewItem Properties

The ListViewItem type exposes the following members.

  Name Description
Public property BackColor Gets or sets the background color of the item's text.
Public property Bounds Gets the bounding rectangle of the item, including subitems.
Public property Checked Gets or sets a value indicating whether the item is checked.
Public property Focused Gets or sets a value indicating whether the item has focus within the ListView control.
Public property Font Gets or sets the font of the text displayed by the item.
Public property ForeColor Gets or sets the foreground color of the item's text.
Public property Group Gets or sets the group to which the item is assigned.
Public property ImageIndex Gets or sets the index of the image that is displayed for the item.
Public property ImageKey Gets or sets the key for the image that is displayed for the item.
Public property ImageList Gets the ImageList that contains the image displayed with the item.
Public property IndentCount Gets or sets the number of small image widths by which to indent the ListViewItem.
Public property Index Gets the zero-based index of the item within the ListView control.
Public property ListView Gets the ListView control that contains the item.
Public property Name Gets or sets the name associated with this ListViewItem.
Public property Position Gets or sets the position of the upper-left corner of the ListViewItem.
Public property Selected Gets or sets a value indicating whether the item is selected.
Public property StateImageIndex Gets or sets the index of the state image (an image such as a selected or cleared check box that indicates the state of the item) that is displayed for the item.
Public property SubItems Gets a collection containing all subitems of the item.
Public property Tag Gets or sets an object that contains data to associate with the item.
Public property Text Gets or sets the text of the item.
Public property ToolTipText Gets or sets the text shown when the mouse pointer rests on the ListViewItem.
Public property UseItemStyleForSubItems Gets or sets a value indicating whether the Font, ForeColor, and BackColor properties for the item are used for all its subitems.
Top
Show:
© 2014 Microsoft