C# Класс Adf.Web.Binding.DateTimeBinder

Represents a binder for a System.Web.UI.WebControls.Calendar and Adf.Web.UI.DateTextBox. Provides methods to bind the 'SelectedDate' or 'Date' property of a System.Web.UI.WebControls.Calendar or a Adf.Web.UI.DateTextBox control respectively with a date.
Наследование: IControlBinder
Показать файл Открыть проект

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

Метод Описание
Bind ( object control, IEnumerable values ) : void

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified list. Currently not being supported.

Bind ( object control, object values ) : void

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified array of objects. Currently not being supported.

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

Binds the 'SelectedDate' or 'Date' property of the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified value.

Приватные методы

Метод Описание
GetDate ( object value ) : DateTime?

Converts the specified value to a Nullable<DateTime> value and returns the output.

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

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

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified list. Currently not being supported.
public Bind ( object control, IEnumerable values ) : void
control object The or /// to bind to.
values IEnumerable The list to bind.
Результат void

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

Binds the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified array of objects. Currently not being supported.
public Bind ( object control, object values ) : void
control object The or /// to bind to.
values object The array of objects to bind.
Результат void

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

Binds the 'SelectedDate' or 'Date' property of the specified System.Web.UI.WebControls.Calendar or Adf.Web.UI.DateTextBox with the specified value.
public Bind ( object control, object value, PropertyInfo pi ) : void
control object The or /// to bind to.
value object The value to bind.
pi System.Reflection.PropertyInfo Currently not being used.
Результат void