Skip to main content
All docs
V25.2
  • IContextMenuItemCollection.AddCustomItem Method

    Name Parameters Description
    AddCustomItem(Int32, String, Action, Boolean) index, text, click, enabled
    AddCustomItem(Int32, String, Action) index, text, click
    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, Action, Boolean) text, click, enabled
    AddCustomItem(String, Action) text, click
    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.