I have an application with multiple XamDataGrids displayed in one window. I want to add a user option to set the number of decimal places displayed in the grids and have the grids update dynamically. Ideally, I would not have to write this code for each grid.
Is there a way to change the mask value of the XamNumericEditor's Style dynamically based on a value set in a ViewModel and have that update the grid display? Or is there another approach anyone could suggest?
Thanks!
HI,
Take a look at the feature browser samples for xamEditors, Standalone Usage, Numeric Editor. This sample includes a comboBox of masks to select from.
The xamNumbicEditor mask is then bound to the selected item in the comboBox’s tag.
I’m sure you could create a collection of masks and descriptions of the masks to fill the comboBox, including the tags of the items.
Hi,
I hadn’t heard back from you. I was wondering if you had any further questions on this topic.
If so, please feel free to contact me.