Back to Devexpress

IContextMenuItemCollection.AddCustomItem Method

blazor-devexpress-dot-blazor-dot-icontextmenuitemcollection-dot-addcustomitem.md

latest2.5 KB
Original Source

IContextMenuItemCollection.AddCustomItem Method

NameParametersDescription
AddCustomItem(Int32, String, Action, Boolean)index, text, click, enabledAdds a custom menu item at the specified postition in the item collection.
AddCustomItem(Int32, String, Action)index, text, clickAdds a custom menu item at the specified position in the item collection.
AddCustomItem(Int32, String, Func<Task>, Boolean)index, text, click, enabledAdds a custom menu item at the specified position in the item collection.
AddCustomItem(Int32, String, Func<Task>)index, text, clickAdds a custom menu item to the specified position in the item collection.
AddCustomItem(Int32, String)index, textAdds a custom menu item at the specified postition in the item collection.
AddCustomItem(String, Action, Boolean)text, click, enabledAdds a custom menu item to the end of the item collection.
AddCustomItem(String, Action)text, clickAdds a custom menu item to the end of the item collection.
AddCustomItem(String, Func<Task>, Boolean)text, click, enabledAdds a custom menu item to the end of the item collection.
AddCustomItem(String, Func<Task>)text, clickAdds a custom menu item to the end of the item collection.
AddCustomItem(String)textAdds a custom menu item to the end of the item collection.