New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring PropertyGridContextMenuSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class PropertyGridContextMenuSettingsBuilder<T> where T : class

Inheritance: objectPropertyGridContextMenuSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

PropertyGridContextMenuSettingsBuilder method.

C#
public PropertyGridContextMenuSettingsBuilder(PropertyGridContextMenuSettings<T> container)
Parameters:containerPropertyGridContextMenuSettings<T>

Properties

Gets or sets the Container.

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

C#
public PropertyGridContextMenuSettingsBuilder<T> Body(Action<PropertyGridContextMenuSettingsBodyFactory<T>> configurator)
Parameters:configuratorAction<PropertyGridContextMenuSettingsBodyFactory<T>>

The PropertyGridContextMenuSettingsBodyFactory<T> for the body setting.

Returns:

PropertyGridContextMenuSettingsBuilder<T>

Returns the current instance of PropertyGridContextMenuSettingsBuilder<T> .