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

Defines the fluent API for configuring the PropertyGridItem settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PropertyGridItem : JsonObject

Inheritance: objectJsonObjectPropertyGridItem

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 PropertyGridItem

C#
public PropertyGridItem()

Properties

Sets the description for the property.

C#
public string Description { get; set; }

The JavaScript function that is executed when the value cell is about to be opened for editing. The returned result will determine whether an editor will be created.

C#
public bool? Editable { get; set; }

Provides a way to specify a custom editing UI for the value of the property. To create the editing UI, use the container parameter.When used as String, defines the editor component type. Set the options for the component via the items.editorOptions.For further info check the Form API: field

C#
public string Editor { get; set; }
C#
public IFormEditor EditorComponent { get; set; }

Maps the item configuration to the model property.

C#
public string Field { get; set; }

Specifies the JavaScript type of the field value. Used to determine the correct default editor when the model value is null. Accepted values are "string", "number", "boolean", and "date".

C#
public string FieldType { get; set; }

The format that is applied to the value before it is displayed. Takes the {0:format} form where format is a standard number format, custom number format, standard date format or a custom date format.

C#
public string Format { get; set; }

Sets the name of the group to which the property will belong, if grouping is enabled. Only root level items can be grouped.

C#
public string Group { get; set; }
C#
public List<PropertyGridItem> Items { get; set; }

The template which is rendered for the property's value.

C#
public string Template { get; set; }

The handler for the Template

C#
public string TemplateHandler { get; set; }

The id for the Template

C#
public string TemplateId { get; set; }
C#
public string Title { 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>)