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

Defines the fluent API for configuring the PropertyGridToolbar settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PropertyGridToolbar : JsonObject

Inheritance: objectJsonObjectPropertyGridToolbar

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 PropertyGridToolbar

C#
public PropertyGridToolbar()

Properties

The click handler of the toolbar command. Used for custom toolbar commands.

C#
public ClientHandlerDescriptor Click { get; set; }

Specifies the icon's name that will be rendered inside the toolbar button. When you set this option, the PropertyGrid renders an additional span element inside the toolbar button which has a name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.

C#
public string Icon { get; set; }

A class name that will be rendered inside the toolbar button. When you set this option, the PropertyGrid renders an additional span element inside the toolbar button which has a class name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.

C#
public string ImageClass { get; set; }

The name of the toolbar command. Can be either a built-in ("search", "sort", "group" or "details") or a custom string. The name is output in the HTML as a value of the data-command attribute of the button.

C#
public string Name { get; set; }

The text that is displayed by the command button. If not set, the PropertyGrid will use the name option as the button text instead.

C#
public string Text { get; set; }

Sets the type of the command.

C#
public string Type { 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>)