This documentation is archived and is not being maintained.

MobileListItemType Enumeration

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

Namespace:  System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public enum MobileListItemType

Member nameDescription
HeaderItemRepresents a heading for a list.
ListItemRepresents an item in a list.
FooterItemRepresents a footer for a list.
SeparatorItemRepresents a separator between list items.

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.

NoteNote:

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.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1
Show: