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
Setting theme via MergedDictionaries throws exceptions
posted

Hi,

Settings themes(IGTheme / Office2010Blue) to PivotGrid throws exceptions and does not render PivotGrid properly. I would like to report this as a bug as it is causing me so many problems.

(1)Using Application.Current.Resources.MergedDictionaries.Add(pivotGridIgThemeDictionary) throws an exception when it is set after PivotGrid.DataSource is set. I get around this by adding and removing the theme dictionary before setting the PivotGrid datasource for the first time.

(2)Using this.Resources.MergedDictionaries.Add(pivotGridIgThemeDictionary) where this is a UserControl in which PivotGrid resides causes weird refresh problems in pivotgrid where the data is not properly displayed.

If there is a workaround please let me know. This bug can be replicated very easily, it occurs all the time.

I would like to report this as a bug and would like to have it fixed in one of the future releases please.

Thanks

Sangeetha