# GridContextMenuCommandFactory

## Methods

### Separator()

Defines a separator command.

### Create()

Defines a create command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### Edit()

Defines a edit command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### Destroy()

Defines a destroy command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### Select()

Defines a select command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### CopySelection()

Defines a copy selection command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### CopySelectionNoHeaders()

Defines a copy selection without headers command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### ReorderRow()

Defines a reorder row command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### ExportPDF()

Defines a export PDF command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### ExportExcel()

Defines a export Excel command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### SortAsc()

Defines a sort ascending command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### SortDesc()

Defines a sort descending command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### Custom()

Defines a custom command.

#### RETURNS

A new instance of [GridContextMenuCustomCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucustomcommandbuilder) for further configuration.

### Custom(System.String)

Defines a custom command with a "Command" postfix for the specified name.

#### Parameters

##### commandName - `System.String`

The name of the custom command.

#### RETURNS

A new instance of [GridContextMenuCustomCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucustomcommandbuilder) for further configuration.

### MoveGroupPrevious()

Defines a move group previous command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.

### Paste()

Defines a paste command.

#### RETURNS

A new instance of [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) for further configuration.
