Table of Contents

Class ListViewItemCell

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents a column cell of a ListViewItem.

public class ListViewItemCell : BaseControlItem, IBaseControlItem, IBaseObject
Inheritance
ListViewItemCell
Implements

Remarks

A ListView control displays a list of items that are defined by the ListViewItem class. Each ListViewItem can store cell objects that are defined by the ListViewItemCell class. Cells are displayed when the View property of the ListView control is set to Details.

Constructors

ListViewItemCell()

Initializes a new instance of the ListViewItemCell class with default values.

ListViewItemCell(string, int?)

Initializes a new instance of the ListViewItemCell class with the specified item text and the image index position of the cell's icon.

Properties

ColumnIndex

Gets the index the column associated to this cell. If the value is null, the cell is not associated with any column.

ImageIndex

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

Item

Gets the list view item associated to this cell. If the value is null, the cell is not associated with any item.

Text

Gets or sets the text of the cell.

Methods

Assign(ListViewItemCell)

Assigns properties from another ListViewItemCell.

Clone()

Creates copy of this ListViewItemCell.

ToString()

Returns a string that represents the current object.