ListViewItem Properties
.NET Framework 4.5
The ListViewItem type exposes the following members.
| Name | Description | |
|---|---|---|
|
BackColor | Gets or sets the background color of the item's text. |
|
Bounds | Gets the bounding rectangle of the item, including subitems. |
|
Checked | Gets or sets a value indicating whether the item is checked. |
|
Focused | Gets or sets a value indicating whether the item has focus within the ListView control. |
|
Font | Gets or sets the font of the text displayed by the item. |
|
ForeColor | Gets or sets the foreground color of the item's text. |
|
Group | Gets or sets the group to which the item is assigned. |
|
ImageIndex | Gets or sets the index of the image that is displayed for the item. |
|
ImageKey | Gets or sets the key for the image that is displayed for the item. |
|
ImageList | Gets the ImageList that contains the image displayed with the item. |
|
IndentCount | Gets or sets the number of small image widths by which to indent the ListViewItem. |
|
Index | Gets the zero-based index of the item within the ListView control. |
|
ListView | Gets the ListView control that contains the item. |
|
Name | Gets or sets the name associated with this ListViewItem. |
|
Position | Gets or sets the position of the upper-left corner of the ListViewItem. |
|
Selected | Gets or sets a value indicating whether the item is selected. |
|
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. |
|
SubItems | Gets a collection containing all subitems of the item. |
|
Tag | Gets or sets an object that contains data to associate with the item. |
|
Text | Gets or sets the text of the item. |
|
ToolTipText | Gets or sets the text shown when the mouse pointer rests on the ListViewItem. |
|
UseItemStyleForSubItems | Gets or sets a value indicating whether the Font, ForeColor, and BackColor properties for the item are used for all its subitems. |