aspnet-devexpress-dot-web-2623d669.md
Represents an individual menu item within menu controls.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public class MenuItem :
CollectionItem,
IEnumerable,
IHierarchyData,
ISupportSvgImageRendering
Public Class MenuItem
Inherits CollectionItem
Implements IEnumerable,
IHierarchyData,
ISupportSvgImageRendering
The following members return MenuItem objects:
Show 14 links
The MenuItem class implements the functionality of an individual menu item within a control of the ASPxMenu or ASPxPopupMenu type. Instances of the MenuItem class are maintained within the MenuItem.Items of each parent menu item and within a menu control’s ASPxMenuBase.Items collection which holds the root menu items. Individual menu items can be accessed and manipulated (added or deleted) by using the means provided by the MenuItemCollection class which is exposed via these Items properties.
Use the properties of the MenuItem class to specify the appearance and behavior of an individual menu item. You can define the MenuItem.Text, MenuItem.Image, MenuItem.ToolTip and MenuItem.Visible properties to specify the item’s caption text, image displayed in the item, the tooltip and visibility state. Specify the MenuItem.NavigateUrl and MenuItem.Target properties to set the URL the client web browser navigates to when an end user clicks the item and the window or frame in which to display the content.
Note that the MenuItem class has a client-side equivalent - an object of the ASPxClientMenuItem type.
Show 42 items
Object StateManager CollectionItem MenuItem GanttToolbarItemBase
GanttResourceManagerToolbarItem
GanttShowDependenciesToolbarItem
BootstrapCardViewToolbarItemBase
BootstrapCardViewToolbarMenuItem
BootstrapGridViewToolbarItemBase
BootstrapGridViewToolbarMenuItem
See Also