In the current version of RadDocking when a RadPane instance is being pined or unpinned there is an animation that is triggered. When the OnPin/OnUnpin events of the control are called that animation is still not finished animating. In the case where the PinAllPanes/UnpinAllPanes methods are called there is a timing issue because those method are also triggering those events.
In order to resolve this timing issue when using the PinAllPanes/UnpinAllPanes methods inside the corresponding events you should wrap the call of the methods with an Dispatcher
. The next code snippet shows the described approach:
Hope this is helpful.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.