ListViewItem Members

Represents an item in a ListView control.

The following tables list the members exposed by the ListViewItem type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework ListViewItem Overloaded. Initializes a new instance of the ListViewItem class.
Top

  Name Description
Protected method ListViewItem Overloaded. Initializes a new instance of the ListViewItem class.
Top

  Name Description
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

(see also Protected Methods )
  Name Description
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.
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  Overloaded. Determines whether two Object instances are equal. (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. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (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.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the item from its associated ListView control.
Public method Supported by the .NET Compact Framework ToString Overridden.  
Top

  Name Description
Protected method Deserialize Deserializes the item.
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Serialize Serializes the item.
Top

Community Additions

ADD
Show: