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

Custom Style of HierarchyChildTemplate

2 Answers 150 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Trevor
Top achievements
Rank 1
Trevor asked on 19 Aug 2011, 01:17 PM
Hi,

I am wanting to modify the background color of the hierarchychildTemplate but can't find the relevent style property. I tried wrapping the datatemplate in a grid and give the grid a different background style but unfortuntely this does not fill the entire template even with negative margins.

Could you please provide me with a solution.

Much appreciated.
Trevor

2 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 19 Aug 2011, 02:18 PM
Hello Trevor,

I have prepared an example project for you that illustrates how to accomplish this task. Please, refer to it.

Greetings,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
0
Wade
Top achievements
Rank 1
answered on 17 Dec 2012, 10:01 PM
I've downloaded and looked at this solution, but I'm not sure how to apply it. All I want to do is change the background color, the part where you changed it to red.

Do I really need all that other code, just to change the background color?

Thanks

Wade
Tags
GridView
Asked by
Trevor
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Wade
Top achievements
Rank 1
Share this question
or