Skip to main content
A newer version of this page is available. .

DxMenu Members

A Menu component.

Constructors

Name Description
DxMenu() Initializes a new instance of the DxMenu class.

Properties

Name Description
CloseMenuOnItemClick Specifies whether to close sub-menus when you click their items.
CollapseItemsToHamburgerMenu Specifies whether menu items are collapsed into a hamburger menu when the width of the browser window changes and there is not enough space to display the items in the menu panel.
CollapseItemToIconMode Specifies whether the menu hides item text and displays icons instead when the width of the browser window changes.
CssClass Specifies the name of the component’s CSS class. Inherited from DxComponentBase.
DisplayMode Specifies whether the menu is displayed as a panel with root items or in a compact view.
DropDownActionMode Specifies which action is used to open a menu item’s submenu.
HamburgerButtonPosition Specifies the hamburger button’s position.
HamburgerIconCssClass Specify a CSS class for the hamburger button’s icon.
Id For internal use only. Inherited from DxComponentBase.
Items Specifies the menu’s item collection.
ItemsPosition Specifies the alignment of items in the menu.
ItemTemplate Specifies the template for menu items.
ItemTextTemplate Specifies the text template for menu items.
Orientation Specifies whether items are arranged vertically or horizontally.
SubMenuTemplate Specifies the template used to display submenus for menu items.
Title Specifies the menu’s title.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
ItemClick Fires when a user clicks a menu item.
See Also