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)