Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
XamMaskedEditor entered Value is rounded after Editor leaving
posted

Hello, I have an XamMaskedEditor with a Mask for a currency value.

It looks like this:

<igEditors:XamMaskedEditor Mask="€ nn.nnn,nn" ValueType="{x:Type System:Decimal}"  AlwaysValidate="False" >

         <Binding Path="CurrencyValue" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged" ValidatesOnDataErrors="False" ValidatesOnExceptions="False" NotifyOnValidationError="False"  />

 </igEditors:XamMaskedEditor>

 

So is the input mask for this false ? 

 

The property which the value is binded on is:

        public decimal? CurrencyValue

        {

            get { return _CurrencyValue; }

            set

            {

                if (this._CurrencyValue != value)

                {

                    this._CurrencyValue = value;

                    this.NotifyPropertyChanged("CurrencyValue");

                }

            }

        }

 

How can I fix that ? I also tried the XamCurrencyEditor with no other result.

best regards

Mark Buggermann