ComponentOne Menu for ASP.NET AJAX: Menu Behavior > Animation > Expand and Collapse Duration

Expand and Collapse Duration

Timing plays an important role for animation effects. You need to know when to start the animation and how long the animation lasts. C1Menu provides duration and delay properties so you can specify the timing for your menu animation effects. Both the duration and delay properties are set to measure in milliseconds.

You can control when the expand effect or collapse effect starts by specifying a delay time value for the ExpandDelay and CollapseDelay properties. The default setting for both the ExpandDelay and CollapseDelay properties is 100 milliseconds which is .1 seconds.

Once the expand or collapse process starts, the animation effect begins if the ExpandAnimation or CollapseAnimationproperty is set to an animation type. You can control how long the animation and transition effects last by specifying an integer value for the CollapseDuration and ExpandDuration. The default delay time value for both properties is 500 milliseconds which is half of a second.


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