ComponentOne ComboBox for ASP.NET: ComboBox for ASP.NET AJAX Task-Based Help > Setting the Animation Effects for C1ComboBox

Setting the Animation Effects for C1ComboBox

You can add animation effects to the C1ComboBox control by setting any of the animation properties: CollapseEasing, ExpandEasing, and AnimationDuration.

1.   Click the C1ComboBox smart tag to open the C1ComboBox Tasks menu.

2.   Select Edit Items and choose C1ComboBox1.

3.   Set the CollapseDuration property to "1500". This will make the duration of the C1ComboBox collapse a little slower so you can see the animation effect.

4.   Set the CollapseEasing property to EaseInBounce, for example, or one of the other options.

5.   Click OK to close the C1ComboBox Editor. When you run your project and click the drop-down arrow in the C1ComboBox, notice how it bounces when expanded.


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