PropertyGridItem<T>
Kendo UI PropertyGridItem class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PropertyGridItem<T> where T : class
Inheritance: objectPropertyGridItem<T>
Inherited Members
Constructors
PropertyGridItem method.
public PropertyGridItem()
Properties
Sets the description for the property.
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.
public bool? Editable { get; set; }
EditableHandler member.
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
public string Editor { get; set; }
EditorComponent member.
public IFormEditor EditorComponent { get; set; }
EditorHandler member.
public ClientHandlerDescriptor EditorHandler { 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".
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.
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.
public string Group { get; set; }
Items member.
public List<PropertyGridItem<T>> Items { get; set; }
PropertyGrid member.
public PropertyGrid<T> PropertyGrid { get; set; }
The template which is rendered for the property's value.
public string Template { get; set; }
The handler that returns the template used for Template
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()