C# Class Adf.Web.Binding.DropDownListBinder

Represents a binder for a System.Web.UI.WebControls.DropDownList. Provides methods to bind the values to the properties of a System.Web.UI.WebControls.DropDownList.
Inheritance: IControlBinder
Mostrar archivo Open project: NLADP/ADF

Public Methods

Method Description
Bind ( object control, IEnumerable values ) : void

Populates the specified System.Web.UI.WebControls.DropDownList with the specified list using the specified parameters.

Bind ( object control, object values ) : void

Populates the specified System.Web.UI.WebControls.DropDownList with the specified array of objects using the specified parameters. Currently not being supported.

Bind ( object control, object value, PropertyInfo pi ) : void

Populates the specified System.Web.UI.WebControls.DropDownList with the specified collection of values.

The supported types of items in the specified collection of values can be of type Adf.Business.DomainObject, Adf.Core.Descriptor, System.Enum, SmartReference etc.

Method Details

Bind() public method

Populates the specified System.Web.UI.WebControls.DropDownList with the specified list using the specified parameters.
public Bind ( object control, IEnumerable values ) : void
control object The /// to bind to.
values IEnumerable The list to bind.
return void

Bind() public method

Populates the specified System.Web.UI.WebControls.DropDownList with the specified array of objects using the specified parameters. Currently not being supported.
public Bind ( object control, object values ) : void
control object The to bind to.
values object The array of objects to bind.
return void

Bind() public method

Populates the specified System.Web.UI.WebControls.DropDownList with the specified collection of values.
The supported types of items in the specified collection of values can be of type Adf.Business.DomainObject, Adf.Core.Descriptor, System.Enum, SmartReference etc.
public Bind ( object control, object value, PropertyInfo pi ) : void
control object The /// to bind to.
value object The collection of values to bind.
pi System.Reflection.PropertyInfo The property used to check whether an empty item will be included in the /// .
return void