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

Dynamically Created RadPane with IsPinned = False animation on creation problem

1 Answer 46 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 13 Oct 2011, 10:38 PM
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

Ryan

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 17 Oct 2011, 03:57 PM
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.

Regards,
Miroslav Nedyalkov
the Telerik team

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

Tags
Docking
Asked by
Ryan
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or