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

Header Height

1 Answer 32 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Celeste
Top achievements
Rank 1
Celeste asked on 05 Jun 2009, 02:02 PM
Hi

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.

Thanks.

Celeste.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan
Telerik team
answered on 08 Jun 2009, 10:57 AM
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,
Ivan
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.
Tags
Expander
Asked by
Celeste
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or