Defines the fluent API for configuring GridContextMenu
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class GridContextMenuBuilder
Inheritance: objectGridContextMenuBuilder
Inherited Members
Constructors
C#
public GridContextMenuBuilder(GridContextMenuSettings container)
Properties
C#
protected GridContextMenuSettings Container { get; }
Methods
Configures the context menu commands for the grid body (data rows).
C#
public GridContextMenuBuilder Body(Action<GridContextMenuCommandFactory> configurator)
The lambda which configures the body context menu commands.
Returns:Sets the event configuration of the grid context menu.
C#
public GridContextMenuBuilder Events(Action<GridContextMenuEventBuilder> configurator)
The lambda which configures the events
Returns:Configures the context menu commands for the grid groups (group rows).
C#
public GridContextMenuBuilder Groups(Action<GridContextMenuCommandFactory> configurator)
The lambda which configures the group context menu commands.
Returns:Configures the context menu commands for the grid header.
C#
public GridContextMenuBuilder Head(Action<GridContextMenuCommandFactory> configurator)
The lambda which configures the header context menu commands.
Returns: