Back to Devexpress

DxMenu Members

blazor-devexpress-dot-blazor-dot-dxmenu-dot-underscore-members.md

latest6.2 KB
Original Source

DxMenu Members

An adaptive menu component.

Constructors

NameDescription
DxMenu()Initializes a new instance of the DxMenu class.

Properties

NameDescription
AttributesSpecifies a collection of standard HTML attributes applied to the Menu.
CloseMenuOnItemClickSpecifies whether to close sub-menus when you click their items.
CollapseItemsToHamburgerMenuSpecifies 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.
CollapseItemToIconModeSpecifies whether the menu hides item text and displays icons instead when the width of the browser window changes.
CssClassAssigns a CSS class to the component. Inherited from DxComponent.
DataSpecifies a data source.
DataMappingsSpecifies data mappings.
DisplayModeSpecifies whether the menu is displayed as a panel with root items or in a compact view.
DropDownActionModeSpecifies which action is used to open a menu item’s submenu.
DropDownMaxHeightLimits the maximum height of expanded submenus.
EnabledSpecifies whether the Menu component is enabled.
HamburgerButtonPositionSpecifies the hamburger button’s position.
HamburgerIconCssClassSpecify a CSS class for the hamburger button’s icon.
IdSpecifies the component’s unique identifier. Inherited from DxComponent.
ItemsSpecifies the menu’s item collection.
ItemsPositionSpecifies the alignment of items in the menu.
ItemsStretchedSpecify whether to stretch menu items to fill all available space in the menu container.
ItemTemplateSpecifies the template for menu items.
ItemTextTemplateSpecifies the text template for menu items.
OrientationSpecifies whether items are arranged vertically or horizontally.
SizeModeSpecifies the size of the component’s inner elements. Also affects the component’s size.
SubMenuCssClassAssigns a CSS class to all drop-down menus.
SubMenuTemplateSpecifies the template used to display submenus for menu items.
TargetSpecifies the target attribute’s value for all items.
TitleSpecifies the menu’s title.
TitleTemplateSpecifies the template for the menu title.
VisibleSpecifies the Menu component’s visibility.

Methods

NameDescription
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
ItemClickFires when a user clicks a menu item.

See Also

DxMenu Class

DevExpress.Blazor Namespace