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

Expander Button Style

4 Answers 480 Views
Expander
This is a migrated thread and some comments may be shown as answers.
masha reznik
Top achievements
Rank 1
masha reznik asked on 02 May 2010, 10:37 PM
Hi, how can i access the expander button (expand/collapse command)?
Basicly i need this button to be all over the header.
Thank you

4 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 03 May 2010, 10:02 PM
Hello Masha,

Thank you for contacting us.

In the current implementation of the RadExpander the whole header part is realized as a toggle button. Because of this you can click on any point of the expander's header.

Please correct us if we missed something - just drop us a line.

We hope this information will help you.


Sincerely yours,
Ivan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
masha reznik
Top achievements
Rank 1
answered on 04 May 2010, 12:00 AM

Hello Ivan,
toggle button is working perfect,
but I need to change the style of this button, I need it to look like it's all over the header too.
And also I need my header to disappear when the expander is expanded, 
I guess I need to set the height of the header to zero on expanded event, but how I can access the style of the header,
or there is a better way to do it.

Thank you

0
masha reznik
Top achievements
Rank 1
answered on 04 May 2010, 05:57 PM

Another thing Ivan,
the example of from the previous post with header template is not working with my version.
RadExpander control does not have the HeaderControlTemplate property and 

Telerik.Windows.Controls the namespace does not contain RadExpanderHeader type. 
My version is 2009.3.1208.35, do I need version upgrade now?

Thank  you

 


0
Dimitrina
Telerik team
answered on 06 May 2010, 02:06 PM
Hi masha,

You have to update the new version of our controls, because the HeaderControlTemplate property  is available in the Q1 2010 release.

As to your first question, in order to change the style of the ToggleButton in the Expander control, you have to edit the control template in Blend. For more information you can follow the link below: http://www.telerik.com/help/wpf/common-styling-appearance-edit-control-templates-blend.html

If you have further questions please do not hesitate to ask us.

I hope this will help you.



Sincerely yours,
Dimitrina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Expander
Asked by
masha reznik
Top achievements
Rank 1
Answers by
Ivan
Telerik team
masha reznik
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or