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

Setting the Animation Effects for C1Accordion

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

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

2.   Select Edit Panes and choose C1AccordionPane1.

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

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

5.   Click OK to close the Accordion Form Designer. When you run your project and click the first C1AccordionPane, notice how it bounces when expanded.


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