# GridContextMenuCommandBuilder

## Methods

### 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.
