This documentation is archived and is not being maintained.

ListViewItem Members

Represents an item in a ListView control.

The ListViewItem type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework ListViewItem Overloaded. Initializes a new instance of the ListViewItem class.
Top

  NameDescription
Public method BeginEdit Places the item text into edit mode.
Public method Supported by the .NET Compact Framework Clone Creates an identical copy of the item.
Protected method Deserialize Deserializes the item.
Public method EnsureVisible Ensures that the item is visible within the control, scrolling the contents of the control, if necessary.
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindNearestItem Finds the next item from the ListViewItem, searching in the specified direction.
Public method GetBounds Retrieves the specified portion of the bounding rectangle for the item.
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSubItemAt Returns the subitem of the ListViewItem at the specified coordinates.
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the item from its associated ListView control.
Protected method Serialize Serializes the item.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Overrides Object.ToString().)

In .NET Compact Framework 3.5, this member is inherited from Object.ToString().
Top

  NameDescription
Public property Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework Checked Gets or sets a value indicating whether the item is checked.
Public property Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework Index Gets the zero-based index of the item within the ListView control.
Public property Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework SubItems Gets a collection containing all subitems of the item.
Public property Supported by the .NET Compact Framework Tag Gets or sets an object that contains data to associate with the item.
Public property Supported by the .NET Compact Framework 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: