I have two FieldLayouts in my XamDataGrid. These FieldLayouts use several converters to define colors of styles etc.
When I change the colors on run-time, I would like to update the colors in the XamDataGrid.
Is it possible to "refresh" the layouts, so that the converters are run again?
Still not following...
I don't have a specific template for my XamDataGrid, only the FieldLayouts.
Could you post some sample-code?
The Template property that is defined by the Control class which XamDataGrid ultimately derives from. So if you set the xamDataGrid.Template to 'null' and then call.ClearValue(Control.TemplateProperty) the grid's entire tree of elements should get re-created and therefore your converters should get called again.
Hello Joe
I'm not sure what you mean by ClearValue(TemplateProperty)!
My XamDataGrid has two fieldlayouts (master/nested), with different styling. What is the TemplateProperty are you are referring to?
Hi Christian,
Here is a set of steps that should work:
This should cause all the elements to get re-hydrated.
Any help with this issue?