PropertyGridContextMenuSettingsBodyBuilder

Methods

Name(System.String)

Specifies the name of the item.

Parameters

value - System.String

The value for Name

RETURNS

Returns the current PropertyGridContextMenuSettingsBodyBuilder instance.

Text(System.String)

Specifies the text of the item.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current PropertyGridContextMenuSettingsBodyBuilder instance.

Icon(System.String)

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

icon - System.String

The icon.

RETURNS

Returns the current instance of PropertyGridContextMenuSettingsBodyBuilder .

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<PropertyGridContextMenuBodyIconSettingsBuilder>

The configurator for the icon setting.

RETURNS

Returns the current instance of PropertyGridContextMenuSettingsBodyBuilder .

Command(System.String)

Specifies the command of the item.

Parameters

value - System.String

The value for Command

RETURNS

Returns the current PropertyGridContextMenuSettingsBodyBuilder instance.