DxMenu Properties
An adaptive menu component.| Name | Description |
|---|---|
| Attributes | Specifies a collection of standard HTML attributes applied to the Menu. |
| 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 | Assigns a CSS class to the component. Inherited from DxComponent. |
| Data | Specifies a data source. |
| DataMappings | Specifies data mappings. |
| 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. |
| Enabled | Specifies whether the Menu component is enabled. |
| HamburgerButtonPosition | Specifies the hamburger button’s position. |
| HamburgerIconCssClass | Specify a CSS class for the hamburger button’s icon. |
| Id | Specifies the component’s unique identifier. Inherited from DxComponent. |
| Items | Specifies the menu’s item collection. |
| ItemsPosition | Specifies the alignment of items in the menu. |
| ItemsStretched | Specify whether to stretch menu items to fill all available space in the menu container. |
| ItemTemplate | Specifies the template for menu items. |
| ItemTextTemplate | Specifies the text template for menu items. |
| Orientation | Specifies whether items are arranged vertically or horizontally. |
| SizeMode | Specifies the size of the component’s inner elements. Also affects the component’s size. |
| SubMenuCssClass | Assigns a CSS class to all drop-down menus. |
| SubMenuTemplate | Specifies the template used to display submenus for menu items. |
| Target | Specifies the target attribute’s value for all items. |
| Title | Specifies the menu’s title. |
| TitleTemplate | Specifies the template for the menu title. |
| Visible | Specifies the Menu component’s visibility. |
See Also