Back to Devexpress

ASPxClientMenuBase Class

aspnet-js-aspxclientmenubase.md

latest1.9 KB
Original Source

ASPxClientMenuBase Class

Serves as the base type for the ASPxClientMenu and ASPxClientPopupMenu objects.

Declaration

ts
declare class ASPxClientMenuBase extends ASPxClientControl

Remarks

This object is the base for the client-side ASPxClientMenu and ASPxClientPopupMenu objects. It implements the common client-side functionality for menu objects.

Using the methods exposed by this object a particular root menu item can be accessed by its index (ASPxClientMenuBase.GetItem), an individual menu item can be accessed by its name (ASPxClientMenuBase.GetItemByName), the selected menu item can be manipulated (ASPxClientMenuBase.GetSelectedItem, ASPxClientMenuBase.SetSelectedItem) and the total number of the root menu items can be retrieved (ASPxClientMenuBase.GetItemCount).

The client events available via the ASPxClientMenuBase object allow you to respond to a click on a menu item (ASPxClientMenuBase.ItemClick) and to opening or closing of a submenu (ASPxClientMenuBase.PopUp, ASPxClientMenuBase.CloseUp).

Inheritance

ASPxClientControlBase ASPxClientControl ASPxClientMenuBase ASPxClientMenu

ASPxClientPopupMenu

See Also

ASPxClientMenu

ASPxClientPopupMenu

ASPxClientMenuBase Members