MobileListItemType Enumeração

Definição

Cuidado

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.

Atribui um tipo de item a um elemento nos controles filho de um controle List ou ObjectList.Assigns an item type to an element in a List or ObjectList control's child controls. Essa classe não pode ser herdada.This class cannot be inherited. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public enum class MobileListItemType
public enum 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 = 
[<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.")>]
type MobileListItemType = 
Public Enum MobileListItemType
Herança
MobileListItemType
Atributos

Campos

FooterItem 2

Representa um rodapé de uma lista.Represents a footer for a list. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

HeaderItem 0

Representa um título para uma lista.Represents a heading for a list. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ListItem 1

Representa um item em uma lista.Represents an item in a list. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

SeparatorItem 3

Representa um separador entre os itens de lista.Represents a separator between list items. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Comentários

Quando um List ObjectList controle ou é renderizado no modo modelo, MobileListItem objetos vazios com o tipo de item correspondente são criados para cada cabeçalho, rodapé ou separador que precisa ser renderizado.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. Esses objetos vazios são então inseridos nos controles filho do controle.These empty objects are then inserted into the control's child controls.

Observação

MobileListItem os objetos que correspondem aos itens de lista sempre têm um tipo de ListItem .MobileListItem objects that correspond to list items always have a type of ListItem.

Você pode usar essa enumeração para iterar por meio da coleção Controls e localizar os MobileListItem objetos correspondentes aos modelos de cabeçalho, rodapé e separador.You can use this enumeration for iterating through the controls collection and finding the MobileListItem objects corresponding to the header, footer, and separator templates.

Aplica-se a

Confira também