Share via


MobileListItemType Enumeration

Assigns an item type to an element in a List or ObjectList control's children. This class cannot be inherited.

public sealed enum System.Web.UI.MobileControls.MobileListItemType : 
   System.Enum

Remarks

When a List or ObjectList control is rendered in templated mode, empty MobileListItem objects with the corresponding item type are created for each header, footer, or separator that needs to be rendered. These empty objects are then inserted into the control's children.

Note   MobileListItem objects that correspond to list items always have a type of ListItem.

You can use this enumeration for iterating over the Controls collection and finding the MobileListItem objects corresponding to the header, footer, and separator templates.

Members

Member name Description
HeaderItem Item represents a heading for a list.
ListItem Item represents an item in a list.
FooterItem Item represents a footer for a list.
SeparatorItem Item represents a separator between list items.

Requirements

Namespace: System.Web.UI.MobileControls

Assembly: System.Web.Mobile

See Also

MobileListItem Class

System.Web.UI.MobileControls Namespace