ModelDescriptor
Class
ModelDescriptor class.
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ModelDescriptor : JsonObject
Inheritance: objectJsonObjectModelDescriptor
Derived Classes:
Inherited Members
Constructors
ModelDescriptor method.
C#
public ModelDescriptor(Type modelType, IModelMetadataProvider modelMetadataProvider)
Properties
Gets or sets the ChildrenDataSource.
C#
public DataSource ChildrenDataSource { get; set; }
Gets or sets the ChildrenMember.
C#
public string ChildrenMember { get; set; }
Fields member.
C#
public IList<ModelFieldDescriptor> Fields { get; }
Gets or sets the HasChildrenMember.
C#
public string HasChildrenMember { get; set; }
Gets or sets the IsDirectoryMember.
C#
public string IsDirectoryMember { get; set; }
Methods
AddDescriptor method.
Serialize method.
C#
protected override void Serialize(IDictionary<string, object> json)
Overrides: