Defines the fluent API for configuring GridContextMenu
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GridContextMenuBuilder
Inheritance: objectGridContextMenuBuilder
Inherited Members
Constructors
GridContextMenuBuilder method.
public GridContextMenuBuilder(GridContextMenuSettings container)
Properties
Gets the settings being configured.
protected GridContextMenuSettings Container { get; }
Methods
Configures the context menu commands for the grid body.
public GridContextMenuBuilder Body(Action<GridContextMenuCommandFactory> configurator)
The action to configure the context menu commands.
Returns:The current GridContextMenuBuilder instance for method chaining.
Configures the client-side events.
public GridContextMenuBuilder Events(Action<GridContextMenuEventBuilder> configurator)
The client events action.
Returns:The current GridContextMenuBuilder instance for method chaining.
Configures the context menu commands for the grid groups.
public GridContextMenuBuilder Groups(Action<GridContextMenuCommandFactory> configurator)
The action to configure the context menu commands.
Returns:The current GridContextMenuBuilder instance for method chaining.
Configures the context menu commands for the grid head.
public GridContextMenuBuilder Head(Action<GridContextMenuCommandFactory> configurator)
The action to configure the context menu commands.
Returns:The current GridContextMenuBuilder instance for method chaining.