C# Класс Habanero.Faces.Base.DateTimePickerMapper

Wraps a DateTimePicker in order to display and capture a DateTime property of the business object
Наследование: ControlMapper
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

DateTimePickerMapper ( IDateTimePicker picker, string propName, bool isReadOnly, IControlFactory factory ) : System

Constructor to initialise a new instance of the class

Защищенные методы

Метод Описание
InitialiseWithAttributes ( ) : void

Initialises the control using the attributes already provided, using ControlMapper.SetPropertyAttributes.

InternalUpdateControlValueFromBo ( ) : void

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject

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

Метод Описание
GetValueOfDateTimePicker ( ) : object

Returns the value currently held by the picker

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

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

Updates the properties on the represented business object
public ApplyChangesToBusinessObject ( ) : void
Результат void

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

Constructor to initialise a new instance of the class
public DateTimePickerMapper ( IDateTimePicker picker, string propName, bool isReadOnly, IControlFactory factory ) : System
picker IDateTimePicker The DateTimePicker control to which the property is mapped
propName string The property name
isReadOnly bool Whether this control is read only
factory IControlFactory The control factory to be used when creating the controlMapperStrategy
Результат System

InitialiseWithAttributes() защищенный Метод

Initialises the control using the attributes already provided, using ControlMapper.SetPropertyAttributes.
protected InitialiseWithAttributes ( ) : void
Результат void

InternalUpdateControlValueFromBo() защищенный Метод

Updates the value on the control from the corresponding property on the represented IControlMapper.BusinessObject
protected InternalUpdateControlValueFromBo ( ) : void
Результат void