
ObjectListItem | 773
MobileControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
ObjectListFieldCollection
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1
class
This is a strongly typed collection of ObjectListField instances. It’s used to define the fields
that should be shown in an ObjectList (through the ObjectList.Fields property).
Hierarchy
System.Object ➝ ArrayListCollectionBase(System.Collections.ICollection, System.Collec-
tions.IEnumerable)
➝ ObjectListFieldCollection(IObjectListFieldCollection, System.Web.UI.
IStateManager)
Returned By
ObjectList.Fields
ObjectListItem
System.Web.UI.MobileControls (system.web.mobile.dll)
.NET 1.1, disposable
class
The ObjectListItem represents an individual item in an ObjectList. You do not create ObjectList-
Item instances manually; instead, they are created automatically as the list is bound.
You can iterate through a collection of all the ObjectListItem instances in the list using the
ObjectList.Items collection. In addition, some events (like ObjectList.ItemCommand, ObjectList.Item-
Select, and ObjectList.ItemDataBind) provide an ObjectListItem instance that identifies the
appropriate item in the list.
You can determine whether or not an item is selected using the Selected property. In addi-
tion, you can use the Item property (which is the default indexer) to examine ...