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

Hierarchy child margin with metro theme

2 Answers 26 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ken
Top achievements
Rank 1
Ken asked on 13 Mar 2012, 12:16 PM
Hey,

I would like to modify the thick gray border around a GridView's hierarchy child(ren) in the metro theme and make it thinner. Just to be clear, when you press the "+" to expand the child of a grid view row, the child is shown inside a pretty thick gray border.

Can you point me to the place to do this?

Thanks,
Adrian

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 16 Mar 2012, 09:53 AM
Hi Adrian,

 

You should predefine the template of GridViewRow against MetroTheme and remove the Padding of the Border around the PART_HierarchyChildPresenter. Just modify the default Padding of 6 to the desired value. 
You may get the xaml files for all Telerik Themes from the Themes folder of your personal installation. 




Kind regards,
Vanya Pavlova
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Ken
Top achievements
Rank 1
answered on 16 Mar 2012, 03:39 PM
Hi Vanya,

Thanks for the info. It works.

Best regards,
Adrian
Tags
GridView
Asked by
Ken
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Ken
Top achievements
Rank 1
Share this question
or