Hi,
i have some Problems with XamNumericEditor.
For example i have a Mask like: "nnn.nnnn". Now if i have a value double d=123.45, in my Editor the value is 123.4500. Is it able to delete the last two zeros? Can i do this withe some settings in XamNumericEditor?
With best regard from Gernany
Christian
Christian,
I am still not sure what you are trying to achieve. Do you want to set the mask or the format of the XamNumericEditor?
Here is the difference:
The Mask is used only in Edit Mode of the value editor.
The Format is used when the editor is not in Edit Mode.
I am starting to think that you actually want the Format property, so you can set that instead of the mask, using #s
Hi Alex,
that´s not what i want. If i use "#" in my mask(###.####), the value double d=123,45 looks like this in my editor: _123.
My Problem is, all values are from database and i dont know the values. I crate a Mask with some datas from database. My mask is autogenerated for max fileldlength in database. I only don´t want to see the zeros at the end of the value.
Is it possible to create a converter for this problem?
With best regards from germany
Hello Christian,
Try using # where you want the digit placeholder not to be required. "n" is a required placeholder so that is why it is filled with 0s if there if empty.