MobileListItemType 枚举

定义

注意

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.

将项目类型分配给 ListObjectList 控件的子控件中的元素。 此类不能被继承。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 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
继承
MobileListItemType
属性

字段

FooterItem 2

表示列表的脚注。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

HeaderItem 0

表示列表的标题。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

ListItem 1

表示列表中的项。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

SeparatorItem 3

表示列表中各项间的分隔符。 此 API 已废弃不用。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 移动应用 & 具有 ASP.NET 的网站

注解

List在模板化模式下呈现 或 ObjectList 控件时,将为每个需要呈现的页眉、页脚或分隔符创建具有相应项类型的空MobileListItem对象。 然后将这些空对象插入控件的子控件中。

注意

MobileListItem 与列表项对应的 对象始终具有 类型 ListItem

可以使用此枚举循环访问控件集合并查找 MobileListItem 与页眉、页脚和分隔符模板对应的对象。

适用于

另请参阅