ComponentOne WebMenus and WebBars for ASP.NET (2.0) Search HelpCentral 

Animation Effects

C1WebCommand2 includes built-in animation effects for C1WebMenu, C1WebTreeView, and the C1WebTopicBar controls. You can specify the type of effect for the C1WebMenu, C1WebTopicBar, or C1WebTreeView controls by setting the desired value from the C1WebMenu.ExpandEffect, C1WebTopicBar.ExpandEffect, or C1WebTreeView.ExpandEffect properties.

To determine the duration of the effect in milliseconds you can use the C1WebMenu.ExpandEffectDuration, C1WebTopicBar.ExpandEffectDuration, or the C1WebTreeView.ExpandEffectDuration property.

The following table shows the various built-in animation effects and lists the effect each type of animation has on the available controls:

 

Type

Effect

None

This disables the animation effect on the selected control.

Fade

The items in the expanded/collapsed group/submenu/node gradually fade in from light to normal darkness.

Blind

Slides the top item in the expanded/collapsed group/submenu/node down to the bottom item.

Slide

Slides the bottom item in the expanded/collapsed group/submenu/node down to the top item in a continuous motion.

To see a sample demonstrating the animation effects please view http://helpcentral.componentone.com/Samples.aspx.


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