ObjectListField

ObjectListField.NET 1.1

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( )}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net