GridContextMenuSettingsItemBuilder

Methods

Name(System.String)

Specifies the name of the item.

Parameters

value - System.String

The value for Name

Text(System.String)

Specifies the text of the item.

Parameters

value - System.String

The value for Text

Icon(System.String)

Specifies the icon of the item.

Parameters

value - System.String

The value for Icon

Icon(System.Action)

Specifies the icon of the item. Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

Parameters

configurator - System.Action<GridContextMenuIconSettingsBuilder>

The configurator for the icon setting.

Command(System.String)

Specifies the command of the item.

Parameters

value - System.String

The value for Command

Items(System.Action)

Specifies the items of the item.

Parameters

configurator - System.Action<GridContextMenuSettingsItemFactory>

The configurator for the items setting.

RETURNS

The current GridContextMenuSettingsItemBuilder instance for method chaining.