Skip to main content
All docs
V24.1

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.