Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxContextMenuItem Members

Defines an item in the Context Menu component.

#Constructors

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

#Properties
Show Inherited Hide Inherited

Name Description
Attributes Specifies a collection of standard HTML attributes applied to the context menu item.
BeginGroup Specifies whether an item is the start of a new item group.
CssClass Assigns a CSS class to a context menu item.
Enabled Specifies whether navigation component’s item is enabled. Inherited from DxNavigationItemBaseComponent<TModel>.
IconCssClass Specifies a menu item icon’s CSS class.
IconUrl Specifies a menu item icon’s URL.
Items Provides access to the collection of the current item’s child items.
Name Specifies the unique identifier name for the current item.
SubMenuCssClass Assigns a CSS class to the Context Menu item’s drop-down menu.
SubMenuTemplate Specifies the template for the context menu item’s submenu.
SyncRoot For internal use only. Inherited from DxSettingsComponent.
Template Specifies the context menu item’s template.
Text Specifies the item text content.
TextTemplate Specifies the text template for the context menu item.
Visible Specifies whether the navigation component is visible. Inherited from DxNavigationItemBaseComponent<TModel>.

#Methods
Show Inherited Hide Inherited

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 processed menu item.
See Also