MobileListItemType MobileListItemType MobileListItemType MobileListItemType Enum

Definition

Warning

This API is now obsolete.

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 Mobile Apps & Sites with ASP.NET.

public enum class MobileListItemType
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public enum MobileListItemType
type MobileListItemType = 
Public Enum MobileListItemType
Inheritance
MobileListItemTypeMobileListItemTypeMobileListItemTypeMobileListItemType
Attributes

Fields

FooterItem FooterItem FooterItem FooterItem 2

Represents a footer for a list. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HeaderItem HeaderItem HeaderItem HeaderItem 0

Represents a heading for a list. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ListItem ListItem ListItem ListItem 1

Represents an item in a list. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

SeparatorItem SeparatorItem SeparatorItem SeparatorItem 3

Represents a separator between list items. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Applies to

See also