Header Height

2 posts, 1 answers
  1. Celeste
    Celeste avatar
    34 posts
    Member since:
    May 2009

    Posted 05 Jun 2009 Link to this post


    I would like to know how I can set the height of the header expander.
     I have a textblock within header, but the header is 30 px bigger. I would like to set this height.


  2. Answer
    Ivan avatar
    519 posts

    Posted 08 Jun 2009 Link to this post

    Hello Celeste,

    Thank you for your interest in RadExpander.

    The problem is that the Toggle Button in the Expander header is ~30px in height. This is limiting the min height of the RadExpander. In our Q2 release we will add a property of type Style for the toggle button, which will give you the ability to modify this behavior.

    For the moment the only way to achieve smaller header height is to edit the template.

    In the attached example we demonstrated two expanders: first with whole Style replaced and second only with TemplateDown initialized. Please note the initialization of the HeaderTemplate property will not helps you because it will not apply for the whole header but only for its content.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top