Articles in this section
Category / Section

How to create auto scrolling menus?

1 min read

 

The following code illustrates how auto scroll menus can be obtained.

C#

Menu1.ScrollingEnabled = true;

ItemLook look = new ItemLook();

//specify the look and feel effect of the scrolling arrow on scrolling.

look.StateDataDefault.ItemCSSClass = "scrollCss";

look.ID = "scroll";

Menu1.ScrollUpLook = "scroll";

Menu1.ScrollDownLook = "scroll";

Menu1.ItemLooks.Add(look);

VB

Menu1.ScrollingEnabled = True

look As ItemLook = New ItemLook()

'specify the look and feel effect of the scrolling arrow on scrolling.

look.StateDataDefault.ItemCSSClass = "scrollCss"

look.ID = "scroll"

Menu1.ScrollUpLook = "scroll"

Menu1.ScrollDownLook = "scroll"

Menu1.ItemLooks.Add(look)

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied