System.Web.UI.WebControls Namespace Menu Class
.NET Framework version 2.0
Sets or retrieves the alternate text for the image specified in the ScrollDownImageUrl property.
Inline |
<asp:menu scrolldowntext = strText ... > |
Script |
Menu.ScrollDownText = strText |
strText |
String specifying the alternate text for the image specified in the ScrollDownImageUrl property. |
The property is read/write with no default value.
Use the ScrollDownText property to specify or determine the alternate text displayed for the image specified in the ScrollDownImageUrl property.
When a dynamic menu item contains additional items at the bottom of the menu, an image is displayed to indicate that the user can scroll down to view additional menu items. The text that you specify provides assistive technology devices with a description of the image that can be used to make the control more accessible.
The following example demonstrates how to use the ScrollDownText property to specify the alternate text for the image used to indicate that the user can scroll down in a dynamic menu.
<asp:menu id = "navigationMenu"
staticdisplaylevels=2
staticsubmenuindent=10
scrolldownimageurl = "~/images/scrolldownimage.jpg"
scrolldowntext = "Down"
scrollupimageurl = "~/images/scrollupimage.jpg"
scrolluptext = "Up"
runat = "server">
<dynamicmenustyle Height=50 />
<items>
...
</items>
</asp:menu>
Menu Members ScrollUpText