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.

List コントロールまたは ObjectList コントロールの子コントロールの中の要素に項目の種類を割り当てます。 このクラスは継承できません。 ASP.NET モバイル アプリケーションを開発する方法については、「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
継承
MobileListItemType
属性

フィールド

FooterItem 2

リストのフッターを表します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

HeaderItem 0

リストの見出しを表します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

ListItem 1

リストの項目を表します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

SeparatorItem 3

リスト項目間の区切り記号を表します。 この API は、互換性のために残されています。 ASP.NET モバイル アプリケーションを開発する方法については、「mobile Apps & Sites with ASP.NET」を参照してください。

注釈

Listまたは ObjectList コントロールがテンプレート モードでレンダリングされると、レンダリングする必要があるヘッダー、フッター、または区切り記号ごとに、対応する項目の種類を持つ空MobileListItemのオブジェクトが作成されます。 これらの空のオブジェクトは、コントロールの子コントロールに挿入されます。

Note

MobileListItem リスト アイテムに対応する オブジェクトは常に の ListItem型を持ちます。

この列挙を使用すると、controls コレクションを反復処理し、ヘッダー、フッター、および区切り記号テンプレートに対応するオブジェクトを検索 MobileListItem できます。

適用対象

こちらもご覧ください