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

Defines the fluent API for configuring the PropertyGridContextMenuSettings settings.

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

Initialize the PropertyGridContextMenuSettingsBuilder

C#
public PropertyGridContextMenuSettingsBuilder(PropertyGridContextMenuSettings settings)
Parameters:settingsPropertyGridContextMenuSettings

The PropertyGridContextMenuSettings

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 action that configures the body.

Returns:

PropertyGridContextMenuSettingsBuilder<T>