Hierarchy child margin with metro theme

3 posts, 0 answers
  1. Ken
    Ken avatar
    104 posts
    Member since:
    Aug 2010

    Posted 13 Mar 2012 Link to this post

    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. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 16 Mar 2012 Link to this post

    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 >>
  3. Ken
    Ken avatar
    104 posts
    Member since:
    Aug 2010

    Posted 16 Mar 2012 Link to this post

    Hi Vanya,

    Thanks for the info. It works.

    Best regards,
    Adrian
Back to Top