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

Changing the Collapsed size

3 Answers 86 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Lior ef
Top achievements
Rank 1
Lior ef asked on 22 Feb 2010, 03:43 PM
hi,

first let me complement your control, it looks good and it's easy to use and code.

i want to try and do something with it, and i don't really know where to begin.
when Collapsed i want the expander to look different and be a little bit shown and put some buttons on it with icons,
something like the example i've attached (in both pictures the expander is Expended but you get the idea i think)

i thought about using its' events (PreviewCollapsed?) or something like that but i wonder if there is a better way.

can you help in some info on how to accomplish this?

thanks in advance.

Lior.

3 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 24 Feb 2010, 11:31 AM
Hello Lior,

Thank you for contacting us.

Actually such a half-expanded behavior is not implemented. But you can try to workaround the case using both the Header and the Content properties. However you can always switch to a regular toggle button instead of the expander.

Please preview the attached example and let us know if you need further assistance.

Regards,
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
Lior ef
Top achievements
Rank 1
answered on 01 Mar 2010, 07:42 AM
hi Ivan,

thanks for answering.

i should have said it on the post but i work with WPF not SL,
i can't open the project can you repost it?

thanks again in advance,

Lior
0
Ivan
Telerik team
answered on 04 Mar 2010, 12:06 PM
Hi Lior,

We are sorry for this mistake.

Attached you can find corrected example both for WPF and Silverlight.

Please apologize us.

Kind regards,
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.
Tags
Expander
Asked by
Lior ef
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Lior ef
Top achievements
Rank 1
Share this question
or