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
public enum ListItemType
public enum ListItemType

 Member nameDescription
AlternatingItemAn item in alternating (zero-based even-indexed) cells. It is data-bound. 
EditItemAn item in a list control currently in edit mode. It is data-bound. 
FooterA footer for the list control. It is not data-bound. 
HeaderA header for the list control. It is not data-bound. 
ItemAn item in the list control. It is data-bound. 
PagerA pager that displays the controls to navigate to different pages associated with the DataGrid control. It is not data-bound. 
SelectedItemA selected item in the list control. It is data-bound. 
SeparatorA 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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: