Back to Devexpress

DxMenuItem Members

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

latest5.9 KB
Original Source

DxMenuItem Members

Defines an item of the DxMenu component.

Constructors

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

Properties

NameDescription
AdaptivePrioritySpecifies the order in which the Menu component hides text of root items when the browser window is resized.
AttributesSpecifies a collection of standard HTML attributes applied to the menu item.
BeginGroupSpecifies whether an item separator is displayed before the menu item.
CloseMenuOnClickSpecifies whether to close a sub-menu when you click the item.
CssClassAssigns a CSS class to the menu item.
EnabledSpecifies whether navigation component’s item is enabled. Inherited from DxNavigationItemBaseComponent<TModel>.
ExpandedSpecifies whether the item’s children are expanded.
IconCssClassSpecifies the name of the CSS class applied to the menu item’s icon.
IconUrlSpecifies a menu item icon’s URL.
ItemsProvides access to child items of the current menu item.
NameSpecifies the unique identifier of the current item.
NavigateUrlSpecifies the navigation location for the menu item.
PositionSpecifies the item’s position in the menu container.
StretchedSpecify whether to stretch a menu item so that it fills all available space in the menu container.
SubMenuCssClassAssigns a CSS class to the item’s drop-down menu.
SubMenuTemplateSpecifies the template that defines the layout and appearance of the menu item’s submenu.
SyncRootFor internal use only. Inherited from DxModelComponent.
TargetSpecifies the target attribute’s value for the item.
TemplateSpecifies the template used to display the menu item.
TextSpecifies the item’s text content.
TextTemplateSpecifies the template used to display the menu item’s text.
VisibleSpecifies whether the navigation component is visible. Inherited from DxNavigationItemBaseComponent<TModel>.

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
ClickFires when a user clicks the menu item.
ExpandedChangedFires when nested items expand or collapse.

See Also

DxMenuItem Class

DevExpress.Blazor Namespace