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

Kendo UI OrgChartModelDescriptor class

Definition

Constructors

Initializes a new instance of the OrgChartModelDescriptor class.

C#
public OrgChartModelDescriptor(Type modelType, IModelMetadataProvider modelMetadataProvider)
Parameters:modelTypeType

The type of the model.

modelMetadataProviderIModelMetadataProvider

The meta data provider of the model.

Properties

Avatar member.

C#
public string Avatar { get; set; }

Specifies the whether the records should be initially expanded

C#
public object Expanded { get; set; }

HasChildren member.

C#
public string HasChildren { get; set; }

Name member.

C#
public string Name { get; set; }

Gets or sets the parent id used by the OrgChart.

C#
public string ParentId { get; set; }

Title member.

C#
public string Title { get; set; }

Methods

Serializes the current instance to a Dictionary.

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

The IDictionary<TKey, TValue> object in which settings will be serialized.

Overrides: ModelDescriptor.Serialize(IDictionary<string, object>)