
ListItemType | 867
WebControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
System.Web.UI.HtmlControls.HtmlSelect.Items, ListControl.Items
ListItemControlBuilder
System.Web.UI.WebControls (system.web.dll)
class
The ASP.NET parser uses this class to generate HTML for any ListItem controls on a
requested Web Forms page. You will not need to use this class directly in application
code.
Hierarchy
System.Object ➝ System.Web.UI.ControlBuilder ➝ ListItemControlBuilder
ListItemType
System.Web.UI.WebControls (system.web.dll)
serializable
enum
This enumeration specifies the type of item for a row in a DataList, DataGrid,orRepeater
control. It is not used for other list controls that derive from ListControl.
Item types include headers and footers, separators, and the controls used to move
from one data page to the next (Pager). If an item is currently in edit mode, the value
EditItem is returned; if the item is selected, SelectedItem is used. AlternatingItem indicates a
alternating item, which will be an even-numbered item (counting is zero-based).
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ ListItemType
Returned By
DataGridItem.ItemType, DataListItem.ItemType, RepeaterItem.ItemType
public void Insert( int index, string item);
public void Remove