Defines the fluent interface for configuring context menu commands.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class GridContextMenuCommandFactory
Inheritance: objectGridContextMenuCommandFactory
Inherited Members
Constructors
GridContextMenuCommandFactory method.
public GridContextMenuCommandFactory(IList<GridContextMenuCommand> container)
Methods
Defines a copy selection command.
public GridContextMenuCommandBuilder CopySelection()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a copy selection without headers command.
public GridContextMenuCommandBuilder CopySelectionNoHeaders()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a create command.
public GridContextMenuCommandBuilder Create()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a custom command.
public GridContextMenuCustomCommandBuilder Custom()
GridContextMenuCustomCommandBuilder
A new instance of GridContextMenuCustomCommandBuilder for further configuration.
Defines a custom command with a "Command" postfix for the specified name.
public GridContextMenuCustomCommandBuilder Custom(string commandName)
The name of the custom command.
Returns:GridContextMenuCustomCommandBuilder
A new instance of GridContextMenuCustomCommandBuilder for further configuration.
Defines a destroy command.
public GridContextMenuCommandBuilder Destroy()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a edit command.
public GridContextMenuCommandBuilder Edit()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a export Excel command.
public GridContextMenuCommandBuilder ExportExcel()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a export PDF command.
public GridContextMenuCommandBuilder ExportPDF()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a move group previous command.
public GridContextMenuCommandBuilder MoveGroupPrevious()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a paste command.
public GridContextMenuCommandBuilder Paste()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a reorder row command.
public GridContextMenuCommandBuilder ReorderRow()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a select command.
public GridContextMenuCommandBuilder Select()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a separator command.
public void Separator()
Defines a sort ascending command.
public GridContextMenuCommandBuilder SortAsc()
A new instance of GridContextMenuCommandBuilder for further configuration.
Defines a sort descending command.
public GridContextMenuCommandBuilder SortDesc()
A new instance of GridContextMenuCommandBuilder for further configuration.