This is a migrated thread and some comments may be shown as answers.

Styling Group Rows

3 Answers 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Maria
Top achievements
Rank 1
Maria asked on 08 Jan 2010, 12:33 AM
I have a gridview that allows grouping.  I've managed to style the GridViewGroupRow, and everything looks good...with one exception.  There's a little indentcell that's colored yellow on the rows under the group.  Is there a way I can style that?

3 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 12 Jan 2010, 09:26 AM
Hello Maria,

The indent cell is part of the Row and not the GroupRow.
The template of the row has a PART_IndentPresenter which is actually a StackPanel of IndentCells. To change the colors you will need to edit the template of the IndentPresenter find the IndentCell and modify it as to your requirements.

Regards,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Maria
Top achievements
Rank 1
answered on 12 Jan 2010, 02:58 PM
Can you sent an example what the xaml is supposed to look like?
0
Kalin Milanov
Telerik team
answered on 15 Jan 2010, 04:09 PM
Hi Maria,

Please find attached a sample solution which changes the background of the row indent to a reddish gradient.

I hope this proves to be useful.

Greetings,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Maria
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Maria
Top achievements
Rank 1
Share this question
or