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

Kendo UI PropertyGridItem class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectPropertyGridItem<T>

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

Constructors

PropertyGridItem method.

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; }

EditableHandler member.

C#
public ClientHandlerDescriptor EditableHandler { 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; }

EditorComponent member.

C#
public IFormEditor EditorComponent { get; set; }

EditorHandler member.

C#
public ClientHandlerDescriptor EditorHandler { 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; }

Items member.

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

PropertyGrid member.

C#
public PropertyGrid<T> PropertyGrid { get; set; }

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

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>