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
615
Using XamNumericEditor with mask property
posted

Hello there!

I have an application that has an object hat contains a list of row containers. The row containers consist of a list of values. These values can be of different types (the attached example uses doubles only). Now I want to show these rows in a XamDataGrid using a XamNumericEditor and a defined mask with the German number format. The values is set by making use of binding and unboundfields.

Unfortunately when I enter a value that is something like this 32,4 (german number format has "," as decimal separator), the value that is written back misses the ",". My data object has then the value 324. What is the mistake?!!

I added a simplified project example that shows what happens. I bound the first line to a text box as well, so that one can see what is written back to the data object.

Thanks for any suggestion or help!

Florian

WpfApplication1.zip