Preventing Expander to collapse using the "Pin" functionality

3 posts, 1 answers
  1. HDD
    HDD avatar
    34 posts
    Member since:
    May 2010

    Posted 20 May 2010 Link to this post

    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. Answer
    Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 25 May 2010 Link to this post

    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.
  3. DevCraft banner
  4. HDD
    HDD avatar
    34 posts
    Member since:
    May 2010

    Posted 25 May 2010 Link to this post

    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.

Back to Top