Hi,
I set the Theme for the DataGrid to IGTheme. The colors don't seem to render properly (see below)
Thanks
Sangeetha
Hello Sangeetha,
I have been looking into your enquiry, however I am not getting the same result as you:
Please let me know how have you achieved this.
Hi Petar,
IGTheme looks fine when I set it to the PivotGrid in the XAML as follows:
<igDP:XamDataGrid Grid.Row="1" Grid.ColumnSpan="2" x:Name="indexListingGrid" Theme="IGTheme" SelectedItemsChanged="IndexListingGrid_SelectedItemsChanged" CellChanged="OnGridCellChanged" IsGroupByAreaExpanded="True" >
But it is not rendered properly when I load the theme xaml files myself. I did it as follows:
(1) I added the following xamls to my directory IGTheme/DataPresenter
DataPresenterGeneric.xaml
DataPresenterGeneric_Brushes.xaml
DataPresenterGeneric_Express.xaml
DataPresenterIGTheme.xaml
DataPresenterIGTheme_Brushes.xaml
DataPresenterIGTheme_Express.xaml
(2) I created a resource dictionary with key for reference as follows:
<ResourceDictionary>
<ResourceDictionary x:Key="igThemeDP" x:Name="igThemeDP" Source="/MarketManipulatorControl;component/Styles/IgTheme/DataPresenter/DataPresenterIGTheme.xaml"/>
</ResourceDictionary>
(3) I add it to merged dictionaries at runtime as follows:
Application.Current.Resources.MergedDictionaries(allResourceDictionaries.Add(Resources["igThemeDP"] as ResourceDictionary););
I updated to ServiceRelease V11.1.2094