How do I style this part of the group?

4 posts, 0 answers
  1. Paul
    Paul avatar
    38 posts
    Member since:
    Feb 2014

    Posted 15 Jan Link to this post

    The areas circled in red in the attached png.  I am having a tough time finding them in the templates and styles.  Any hints would be appreciated.

     

    Paul

  2. Paul
    Paul avatar
    38 posts
    Member since:
    Feb 2014

    Posted 15 Jan in reply to Paul Link to this post

    I think this is the answer, but would appreciate someone who truly knows responding.

    Add the following style to your resources, scoped of course to the RadGrid where you need it.

    <Style TargetType="telerik:GridViewIndentCell"  BasedOn="{StaticResource GridViewIndentCellStyle}"> 

          <Setter Property="Background"  Value="Red or color of your choice" />

    </Style>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 20 Jan Link to this post

    Hi Paul,

    You are right. The element that should be targetted is GridViewIndentCell, and it should be based on the theme's style for the same element if you want to keep the default look. Here is an article that provides some more extensive info on the different types of indents in RadGridView.

    Regards,
    Ivan Ivanov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Paul
    Paul avatar
    38 posts
    Member since:
    Feb 2014

    Posted 20 Jan in reply to Ivan Ivanov Link to this post

    Thank you.  Those are buried deep in the templates and fun to find.

     

    Paul

Back to Top