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

Preventing Expander to collapse using the "Pin" functionality

2 Answers 65 Views
Expander
This is a migrated thread and some comments may be shown as answers.
HDD
Top achievements
Rank 1
HDD asked on 20 May 2010, 03:36 PM
I would like to add a "Pin" icon next to the ellipse chevron, which when clicked would pin the expander in its expanded state and prevent it from collapsing. It may be collapsed only when un-Pinned.
Does the current RadExpander for Silverlight support this behavior?

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan
Telerik team
answered on 25 May 2010, 01:14 PM
Hi Neeraj,

Thank you for contacting us.

Indeed the Expander doesn't support the Pin-functionality. However you can achieve such a behavior relying on the PreviewCollapsed and the PreviewExpanded events.

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

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.
0
HDD
Top achievements
Rank 1
answered on 25 May 2010, 02:42 PM
Ivan,
That's pretty neat. And not too many lines of code too.
I like that. !!!
Thanks for providing assistance with this. That should work.

Tags
Expander
Asked by
HDD
Top achievements
Rank 1
Answers by
Ivan
Telerik team
HDD
Top achievements
Rank 1
Share this question
or