ListViewItem Properties

 

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

NameDescription
System_CAPS_pubpropertyBackColor

Gets or sets the background color of the item's text.

System_CAPS_pubpropertyBounds

Gets the bounding rectangle of the item, including subitems.

System_CAPS_pubpropertyChecked

Gets or sets a value indicating whether the item is checked.

System_CAPS_pubpropertyFocused

Gets or sets a value indicating whether the item has focus within the ListView control.

System_CAPS_pubpropertyFont

Gets or sets the font of the text displayed by the item.

System_CAPS_pubpropertyForeColor

Gets or sets the foreground color of the item's text.

System_CAPS_pubpropertyGroup

Gets or sets the group to which the item is assigned.

System_CAPS_pubpropertyImageIndex

Gets or sets the index of the image that is displayed for the item.

System_CAPS_pubpropertyImageKey

Gets or sets the key for the image that is displayed for the item.

System_CAPS_pubpropertyImageList

Gets the ImageList that contains the image displayed with the item.

System_CAPS_pubpropertyIndentCount

Gets or sets the number of small image widths by which to indent the ListViewItem.

System_CAPS_pubpropertyIndex

Gets the zero-based index of the item within the ListView control.

System_CAPS_pubpropertyListView

Gets the ListView control that contains the item.

System_CAPS_pubpropertyName

Gets or sets the name associated with this ListViewItem.

System_CAPS_pubpropertyPosition

Gets or sets the position of the upper-left corner of the ListViewItem.

System_CAPS_pubpropertySelected

Gets or sets a value indicating whether the item is selected.

System_CAPS_pubpropertyStateImageIndex

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.

System_CAPS_pubpropertySubItems

Gets a collection containing all subitems of the item.

System_CAPS_pubpropertyTag

Gets or sets an object that contains data to associate with the item.

System_CAPS_pubpropertyText

Gets or sets the text of the item.

System_CAPS_pubpropertyToolTipText

Gets or sets the text shown when the mouse pointer rests on the ListViewItem.

System_CAPS_pubpropertyUseItemStyleForSubItems

Gets or sets a value indicating whether the Font, ForeColor, and BackColor properties for the item are used for all its subitems.

Return to top
Show: