Hello,
Is it possible to change the ContentPane hiding speed (autohide mode) in a xamDockManager ? My customer thinks it's hiding too fast...
I tried to play with the AnimationSpeed enum on the xamDockManager, but it didn't change anything on the behaviour of the hiding speed.
Many thanks in advance,
Thomas
I'm not sure what AnimationSpeed you are referring to but currently the duration of the show and hide animations are not publicly exposed. They are controlled in code by the UnpinnedTabFlyout and set to take 250ms. There are also some cases where the animation will not happen. For example if the ContentPane in the flyout contains an HwndHost (e.g. WindowsFormsHost, WebBrowser, etc.) then the animation will be skipped since the animation will not affect the HwndHost (like the scaletransform for resize or the opacity change for fade and the slide is very choppy because of how the hwndhost updates its position asynchronously).
Hi Andrew, and thanks for you reply.
I was referring to this property of the UltraDockManager : http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/Infragistics2.Win.UltraWinDock.v12.1~Infragistics.Win.UltraWinDock.UltraDockManager~AnimationSpeed.html
I tried each value, from Plus5 to Minus5, but didn't notice any difference in the behaviour when hiding a ContentPane.
That is the Windows Forms UltraDockManager control. This forum is about the WPF XamDockManager. If the question is about the UltraDockManager then it would be best to post the question in the UltraDockManager forum here.
Andrew Smith"] That is the Windows Forms UltraDockManager control. This forum is about the WPF XamDockManager. If the question is about the UltraDockManager then it would be best to post the question in the UltraDockManager forum here.
You're right. My application was using both DockManager : The "Winform one" and the "Xam one". The Winform one has been kept only for safety reasons and is not in use anymore (it was hidden in the code behind) : that's why no matter which property I changed, there was no difference.
My question is still concerning the xamDockManager : is there a way to slow the hiding speed of a pane by changing the UnpinnedTabFlyout property ?
Thans for your reply.
Regards,
No, the xamDockManager is currently set up to process the flyout/flyin animation in about 1/4 second. If you want to see a property exposed to control the animation speed you should submit a suggeston here with as much details about the requirement as possible. Again, there are also times that the animation is skipped such as when an HwndHost is hosted in the pane.