5 Answers, 1 is accepted
The styles used in our themes are theme specific. If you want to modify the style for GridViewRow against Metro theme you can manually copy it and modify the selected color through manipulating the Border element named Background_Selected in the way you need. You may find the styles for all Telerik themes from the Themes folder of your personal installation.
Please give it a try and let us know if you encounter any problems!
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
i tried to read 4393 rows of code, but i can't find the part, which is relevant for me? Please can you give me some more
details please?
Thanks
Regards
Rene
I have prepared small sample demo which illustrates how to modify the selection effect of GridViewRow in Metro theme to LightBlue. Will you verify how this works for you?
All the best,
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
this is realy great, thanks a lot. But i have a little problem. I'm using a RowStyleSelector which shows me a different background, if
one porperty of my ViewModel ist "OK" or "FAILER".... In combination with your Demo the Color of the selected row is still gray.
How does your example work with an RowStyleSelector?
Thanks
Best Regards
Rene
Thank you for getting back to us! When using RowStyleSelectors you should provide two different Metro styles with their templates where the selection background is Light Blue. Just change the background of the row in these two separate styles to achieve your goal.
Hope this helps!
Vanya Pavlova
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.