C# Класс 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.
Наследование: IControlBinder
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Bind() публичный Метод

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.
Результат void

Bind() публичный Метод

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.
Результат void

Bind() публичный Метод

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 /// .
Результат void