RadGridView Find Selection Background Color

3 posts, 0 answers
  1. Simon
    Simon avatar
    4 posts
    Member since:
    Oct 2013

    Posted 13 Jul Link to this post

    I have not customised the selection background color of the RadGridView.  Nor do I need to.  I just need to programatically find out what the selection background color of the grid actually is.
  2. Simon
    Simon avatar
    4 posts
    Member since:
    Oct 2013

    Posted 14 Jul Link to this post

    Though I have not found a solution to this problem, I no longer need to know.  So can the post be deleted please (unless anyone else is interested)?
  3. UI for WPF is Visual Studio 2017 Ready
  4. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    277 posts

    Posted 18 Jul Link to this post

    Hi Simon,

    As per the Implicit Styles article in our documentation, you can find the XAML files in the local installation of the Telerik controls. The folder Themes contains the different resources for the different themes that you can use in your application. You can have a look at the Template of the GridViewRow element for the theme that you have set. There is a certain border that is applied to the selected item and respectively you can track down the brush that is applied to this specific state.

    Regards,
    Stefan Nenchev
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top