Habanero.Faces.Base.NumericUpDownCurrencyMapper.NumericUpDownCurrencyMapper C# (CSharp) Method

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
        public NumericUpDownCurrencyMapper(INumericUpDown numericUpDownControl, string propName, bool isReadOnly, IControlFactory factory)
            : base(numericUpDownControl, propName, isReadOnly, factory)
        {
            _numericUpDown.DecimalPlaces = 2;
            _numericUpDown.Maximum = decimal.MaxValue;
            _numericUpDown.Minimum = decimal.MinValue;
        }