Dynamically Created RadPane with IsPinned = False animation on creation problem

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    7 posts
    Member since:
    Aug 2011

    Posted 13 Oct 2011 Link to this post

    I am creating a set of RadPane object fromt he results of a WCF service and adding them to a RadPaneGroup via a Dispatcher.BeginInvoke call.
    When the new panes are added they are added in the Opened state a slide back, i want to avoid this if possible but all my attempt have not worked thus far.

    What is the recommended approach to stop the animation when i dynamically add a RadPane with IsPinned = false to a RadPaneGroup?

    Thanks for yout time

  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 17 Oct 2011 Link to this post

    Hi Ryan,

    We are aware of this problem. To stop the animation you could set the AnimationManager.AnimationSelector attached property of the Docking control to null. This will stop all animations. You can re-enable them once the pane is added (after its loaded method is fired).

    Hope this work-around helps.

    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top