System.Web.UI.MobileControls (system.web.mobile.dll) | sealed class |
The ObjectListField represents a single field or
property in an object that is bound to the
ObjectList control. You can choose the fields you
want to display in one of two ways. If you set
ObjectList.AutoGenerateFields to
True, all the fields (or public properties) will
be shown for bound objects. If you set
ObjectList.AutoGenerateFields to
False, you can define the fields that should be
shown by adding ObjectListField instances (one for
each field or property you want to bind) to the
ObjectList.Fields collection.
public sealed class ObjectListField : System.Web.UI.IStateManager {
// Public Constructors
public ObjectListField( );
// Public Instance Properties
public string DataField{set; get; }
public string DataFormatString{set; get; }
public string Name{set; get; }
public string Title{set; get; }
public bool Visible{set; get; }
// Public Instance Methods
public void DataBindItem(int fieldIndex, ObjectListItem item);
}
Returned By
IObjectListFieldCollection.{GetAll( ),
this}, ObjectListFieldCollection.{GetAll(
), this}
Passed To
IObjectListFieldCollection.IndexOf( ),
ObjectListFieldCollection.{Add( ), AddAt(
), IndexOf( ), Remove(
), SetAll( )}
|