This question is locked. New answers and comments are not allowed.
I am trying to change the background color shown when a user selects a row. I am able to get this working by adding the following to the App.xaml in Application.Resources:
<SolidColorBrush x:Key="TelerikGridCurrentCellBackgroundBrush" Color="Transparent"/>
<SolidColorBrush x:Key="TelerikGridSelectedBackgroundBrush" Color="#FF1186B0"/>
This sets those colors at a global level. I was hoping to set these at a per-page level, but adding these lines to the Resources section of a specific page does not have the same effect. It also does not make any effect if you add these lines to the Resources section of the grid control itself. Only when I add these lines to the App.xaml itself do I ever see the change.
So, how can I have different background color fills for selected rows for 2 different telerik grids in the same app? We have two totally differently styled grids on two different pages, but for now I must use the same selection color for both. Any suggestions?
<SolidColorBrush x:Key="TelerikGridCurrentCellBackgroundBrush" Color="Transparent"/>
<SolidColorBrush x:Key="TelerikGridSelectedBackgroundBrush" Color="#FF1186B0"/>
This sets those colors at a global level. I was hoping to set these at a per-page level, but adding these lines to the Resources section of a specific page does not have the same effect. It also does not make any effect if you add these lines to the Resources section of the grid control itself. Only when I add these lines to the App.xaml itself do I ever see the change.
So, how can I have different background color fills for selected rows for 2 different telerik grids in the same app? We have two totally differently styled grids on two different pages, but for now I must use the same selection color for both. Any suggestions?