ListItemType Enumeration

 

Specifies the type of an item in a list control.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public enum class ListItemType

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 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.

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

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: