Skip to main content

DxMenuItem Members

Defines an item of the DxMenu component.

Constructors

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

Properties

Name Description
AdaptivePriority Specifies the order in which the Menu component hides text of root items when the browser window is resized.
BeginGroup Specifies whether an item separator is displayed before the menu item.
CloseMenuOnClick Specifies whether to close a sub-menu when you click the item.
CssClass Specifies the name of a CSS class applied to a menu item.
Enabled Specifies whether navigation component’s item is enabled. Inherited from DxNavigationItemBaseComponent<TModel>.
Expanded Specifies whether the item’s children are expanded.
IconCssClass Specifies the name of the CSS class applied to the menu item’s icon.
IconUrl Specifies a menu item icon’s URL.
Items Provides access to child items of the current menu item.
Name Specifies the unique identifier of the current item.
NavigateUrl Specifies the navigation location for the menu item.
Position Specifies the item’s position in the menu container.
Stretched Specify whether to stretch a menu item so that it fills all available space in the menu container.
SubMenuTemplate Specifies the template that defines the layout and appearance of the menu item’s submenu.
SyncRoot For internal use only. Inherited from DxSettingsComponent.
Template Specifies the template used to display the menu item.
Text Specifies the item’s text content.
TextTemplate Specifies the template used to display the menu item’s text.
Visible Specifies whether the navigation component is visible. Inherited from DxNavigationItemBaseComponent<TModel>.

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
Click Fires when a user clicks the menu item.
ExpandedChanged Fires when nested items expand or collapse.
See Also