Defines the fluent API for configuring PropertyGridContextMenuSettingsBody
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PropertyGridContextMenuSettingsBodyBuilder<T> where T : class
Inheritance: objectPropertyGridContextMenuSettingsBodyBuilder<T>
Inherited Members
Constructors
PropertyGridContextMenuSettingsBodyBuilder method.
public PropertyGridContextMenuSettingsBodyBuilder(PropertyGridContextMenuSettingsBody<T> container)
Properties
Gets or sets the Container.
protected PropertyGridContextMenuSettingsBody<T> Container { get; }
Methods
Specifies the command of the item.
public PropertyGridContextMenuSettingsBodyBuilder<T> Command(string value)
The value for Command
Returns:PropertyGridContextMenuSettingsBodyBuilder<T>
Returns the current PropertyGridContextMenuSettingsBodyBuilder<T> instance.
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.
public PropertyGridContextMenuSettingsBodyBuilder<T> Icon(Action<PropertyGridContextMenuBodyIconSettingsBuilder<T>> configurator)
The PropertyGridContextMenuBodyIconSettingsBuilder<T> for the icon setting.
Returns:PropertyGridContextMenuSettingsBodyBuilder<T>
Returns the current instance of PropertyGridContextMenuSettingsBodyBuilder<T> .
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.
public PropertyGridContextMenuSettingsBodyBuilder<T> Icon(string icon)
The icon.
Returns:PropertyGridContextMenuSettingsBodyBuilder<T>
Returns the current instance of PropertyGridContextMenuSettingsBodyBuilder<T> .
Specifies the name of the item.
public PropertyGridContextMenuSettingsBodyBuilder<T> Name(string value)
The value for Name
Returns:PropertyGridContextMenuSettingsBodyBuilder<T>
Returns the current PropertyGridContextMenuSettingsBodyBuilder<T> instance.
Specifies the text of the item.
public PropertyGridContextMenuSettingsBodyBuilder<T> Text(string value)
The value for Text
Returns:PropertyGridContextMenuSettingsBodyBuilder<T>
Returns the current PropertyGridContextMenuSettingsBodyBuilder<T> instance.