Skip to main content
All docs
V24.2

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

IContextMenuItemCollection.AddCustomItem Method

Name Parameters Description
AddCustomItem(Int32, String, Func<Task>, Boolean) index, text, click, enabled Adds a custom menu item at the specified position in the item collection.
AddCustomItem(Int32, String, Func<Task>) index, text, click Adds a custom menu item to the specified position in the item collection.
AddCustomItem(Int32, String) index, text Adds a custom menu item at the specified postition in the item collection.
AddCustomItem(String, Func<Task>, Boolean) text, click, enabled Adds a custom menu item to the end of the item collection.
AddCustomItem(String, Func<Task>) text, click Adds a custom menu item to the end of the item collection.
AddCustomItem(String) text Adds a custom menu item to the end of the item collection.