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
3914
XamDataGrid does not display theme when in unselected tab
posted

Hi,

I am using WPF 11.2.

I have a tab control with 2 tabs. Each of the tabs contain a XamDataGrid. I have a combo box with themes which can be dynamicaly set to the XamDataGrid.

My problem is when I change the theme at runtime, only the dataGrid which is in the selected tab displays the changed theme.

The dataGrid in the unselected tab still displays the old theme, although debugging into it displays that the theme was in fact changed.

 

I set the dataGrid's theme as dataGrid.Theme-="Generic".

 

Thanks

Sangeetha