C# Class Habanero.Faces.Base.NumericUpDownCurrencyMapper

Wraps a NumericUpDown control in order to display and capture a currency property of the business object, where values are rounded to two decimal places
Inheritance: NumericUpDownMapper
ファイルを表示 Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
ApplyChangesToBusinessObject ( ) : void

Updates the properties on the represented business object

NumericUpDownCurrencyMapper ( INumericUpDown numericUpDownControl, string propName, bool isReadOnly, IControlFactory factory )

Constructor to initialise a new instance of the class

Method Details

ApplyChangesToBusinessObject() public method

Updates the properties on the represented business object
public ApplyChangesToBusinessObject ( ) : void
return void

NumericUpDownCurrencyMapper() public method

Constructor to initialise a new instance of the class
public NumericUpDownCurrencyMapper ( INumericUpDown numericUpDownControl, string propName, bool isReadOnly, IControlFactory factory )
numericUpDownControl INumericUpDown The numericUpDownControl object to map
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