Kendo UI OrgChartDataSource TagHelper OrgChartDataSourceTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("kendo-orgchartdatasource")]
[HtmlTargetElement("orgchart-datasource", ParentTag = "kendo-orgchart")]
[RestrictChildren("filters", new string[] { "schema", "sorts", "transport" })]
public class OrgChartDataSourceTagHelper : DataSourceTagHelper, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperBaseDataSourceTagHelperOrgChartDataSourceTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-orgchartdatasource name="orgchartdatasource">
<schema>
</schema>
</kendo-orgchartdatasource>
Child Tags
Constructors
Initializes a new instance of the OrgChartDataSourceTagHelper class.
C#
public OrgChartDataSourceTagHelper(IKendoHtmlGenerator generator)
Methods
Adds self to context.
C#
protected override void AddSelfToContext(TagHelperContext context)
The TagHelper context.
Overrides:
Gets the initialization script.
C#
protected override string GetInitializationScript()
The initialization script.
Overrides:
Serializes the defined settings.
C#
public override IDictionary<string, object> Serialize()
Overrides:
SetDataSource method.