System.Web.UI.WebControls.ListItemType Enumeration

Specifies the type of an item in a list control.

Syntax

public enum ListItemType

Remarks

The System.Web.UI.WebControls.ListItemType enumeration represents the different items that can be included in a list control, such as the System.Web.UI.WebControls.DataGrid, System.Web.UI.WebControls.DataList, and System.Web.UI.WebControls.Repeater controls. A typical list control consists of cells that contain elements represented by this enumeration.

Members

Member NameDescription
AlternatingItem

An item in alternating (zero-based even-indexed) cells. It is data-bound.

EditItem

An item in a list control currently in edit mode. It is data-bound.

Footer

A footer for the list control. It is not data-bound.

Header

A header for the list control. It is not data-bound.

Item

An item in the list control. It is data-bound.

Pager

A pager that displays the controls to navigate to different pages associated with the System.Web.UI.WebControls.DataGrid control. It is not data-bound.

SelectedItem

A selected item in the list control. It is data-bound.

Separator

A separator between items in a list control. It is not data-bound.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0