Defines the fluent API for configuring PropertyGridContextMenuSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PropertyGridContextMenuSettingsBuilder<T> where T : class
Inheritance: objectPropertyGridContextMenuSettingsBuilder<T>
Inherited Members
Constructors
PropertyGridContextMenuSettingsBuilder method.
public PropertyGridContextMenuSettingsBuilder(PropertyGridContextMenuSettings<T> container)
Properties
Gets or sets the Container.
protected PropertyGridContextMenuSettings<T> Container { get; }
Methods
Configures the items of the ContextMenu for the table body element. Those are some valid predefined tools: "separator", "copy", "copyName", "copyDeclaration", "resize", "reset", "expandItem", "collpaseItem".You can also specify a custom item and associate it with a command.
public PropertyGridContextMenuSettingsBuilder<T> Body(Action<PropertyGridContextMenuSettingsBodyFactory<T>> configurator)
The PropertyGridContextMenuSettingsBodyFactory<T> for the body setting.
Returns:PropertyGridContextMenuSettingsBuilder<T>
Returns the current instance of PropertyGridContextMenuSettingsBuilder<T> .