ComponentOne Window for ASP.NET AJAX: Window for ASP.NET AJAX Behavior > Animation > Animation Duration

Animation Duration

You can set how long each C1Window show, hide, expand, and collapse animation effect takes by using the AnimationDurationOnShowing, AnimationDurationOnHiding, AnimationDurationOnExpanding, and AnimationDurationOnCollapsing properties. The unit of time used for specifying animation effect duration is in milliseconds, and the default setting for all of the above four properties is 1000 milliseconds (one second). Increase this value for a longer animation effect, and decrease this number for a shorter animation effect.

 Sample Project Available

For a demonstration of setting the AnimationDurationOnShowing, AnimationDurationOnHiding, AnimationDurationOnExpanding, and AnimationDurationOnCollapsing properties, see C1Window's Animation page in the ControlExplorer sample.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.