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

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PropertyGridContextMenuSettings : JsonObject

Inheritance: objectJsonObjectPropertyGridContextMenuSettings

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

Constructors

Initialization for the PropertyGridContextMenuSettings

C#
public PropertyGridContextMenuSettings()

Properties

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 List<PropertyGridContextMenuSettingsBody> Body { get; set; }

Configures the ContextMenu of the PropertyGrid. If set to true enables the default ContextMenu.

C#
public bool Enabled { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)