Defines the fluent interface for configuring toolbar commands in the Grid
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class GridContextMenuCommandBuilder
Inheritance: objectGridContextMenuCommandBuilder
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the GridToolBarCommandBuilder class.
C#
public GridContextMenuCommandBuilder(GridContextMenuCommand command)
The command configuration
Properties
C#
protected GridContextMenuCommand Command { get; set; }
Methods
Sets the icon for the command.
C#
public GridContextMenuCommandBuilder Icon(string icon)
The icon which should be displayed
Returns:Sets the text for the command.
C#
public GridContextMenuCommandBuilder Text(string text)
The text which should be displayed
Returns: