# GridContextMenuCustomCommandBuilder

## Methods

### Command(System.String)

Sets the command name for the custom command.

#### Parameters

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

The command name.

### Items(System.Action)

Specifies the items of the item.

#### Parameters

##### configurator - System.Action<[GridContextMenuSettingsItemFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenusettingsitemfactory)>

The configurator for the items setting.

#### RETURNS

The current [GridContextMenuCustomCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucustomcommandbuilder) instance for method chaining.

### Text(System.String)

Sets the text for the command.

#### Parameters

##### text - `System.String`

The text which should be displayed

#### RETURNS

The current [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) instance for method chaining.

### Icon(System.String)

Sets the icon for the command.

#### Parameters

##### icon - `System.String`

The icon which should be displayed

#### RETURNS

The current [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) instance for method chaining.

### Icon(System.Action)

Sets the icon for the command.

#### Parameters

##### configurator - System.Action<[GridContextMenuIconSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenuiconsettingsbuilder)>

The configurator for the icon setting.

#### RETURNS

The current [GridContextMenuCommandBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/gridcontextmenucommandbuilder) instance for method chaining.
