MobileListItemType Enumeration
Assigns an item type to an element in a List or ObjectList control's child controls. This class cannot be inherited. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
| Member name | Description | |
|---|---|---|
| FooterItem | Represents a footer for a list. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. | |
| HeaderItem | Represents a heading for a list. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. | |
| ListItem | Represents an item in a list. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. | |
| SeparatorItem | Represents a separator between list items. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site. |
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 child controls.
Note |
|---|
MobileListItem objects that correspond to list items always have a type of ListItem. |
You can use this enumeration for iterating through the controls collection and finding the MobileListItem objects corresponding to the header, footer, and separator templates.
Available since 1.1
MobileListItem
System.Web.UI.MobileControls Namespace
Introduction to the List Control
Introduction to the SelectionList Control
