Defines the fluent API for configuring a custom command in the grid context menu.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class GridContextMenuCustomCommandBuilder : GridContextMenuCommandBuilder
Inheritance: objectGridContextMenuCommandBuilderGridContextMenuCustomCommandBuilder
Inherited Members
Constructors
Initializes a new instance of the GridContextMenuCustomCommandBuilder class.
C#
public GridContextMenuCustomCommandBuilder(GridContextMenuCommand command)
Methods
Sets the command name for the custom command.
C#
public GridContextMenuCustomCommandBuilder Command(string commandName)
The command name.
Returns:Specifies the items of the item.
C#
public GridContextMenuCustomCommandBuilder Items(Action<GridContextMenuSettingsItemFactory> configurator)
The configurator for the items setting.
Returns:GridContextMenuCustomCommandBuilder
The current GridContextMenuCustomCommandBuilder instance for method chaining.