ComponentOne Expander for ASP.NET AJAX: Expanding and Collapsing C1Expander > Expand and Collapse Duration

Expand and Collapse Duration

You can set how long each C1Expander expand and collapse animation effect takes by using the ExpandDuration and CollapseDuration properties. The unit of time used for specifying animation effect duration is in milliseconds, and the default setting for both the ExpandDuration and CollapseDuration properties is 500 milliseconds (so half a 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 ExpandDuration and CollapseDuration properties, see the Animation page of the ControlExplorer sample.


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