menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DiagramDataSource - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DiagramDataSource

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    DiagramDataSource
    Namespace: Syncfusion.EJ2.Diagrams
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DiagramDataSource : EJTagHelper

    Constructors

    DiagramDataSource()

    Declaration
    public DiagramDataSource()

    Properties

    ConnectionDataSource

    define connectorDataSource collection

    Declaration
    public DiagramConnectionDataSource ConnectionDataSource { get; set; }
    Property Value
    Type Description
    DiagramConnectionDataSource

    The default value is null

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    CrudAction

    Add CrudAction to data source

    Declaration
    public DiagramCrudAction CrudAction { get; set; }
    Property Value
    Type Description
    DiagramCrudAction

    The default value is null

    DataManager

    Sets the data source either as a collection of objects or as an URL of DataManager

    Declaration
    public object DataManager { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    DataMapSettings

    A collection of JSON objects where each object represents an Data Map Items.

    Declaration
    public List<DiagramDataMapSetting> DataMapSettings { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DiagramDataMapSetting>

    The default value is null

    DataSource

    Sets the data source either as a collection of objects or as an URL of DataManager

    Declaration
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    DoBinding

    Binds the custom data with node model

    Declaration
    public object DoBinding { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Id

    Sets the unique id of the data source items

    Declaration
    public override string Id { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Overrides
    Syncfusion.EJ2.EJTagHelper.Id

    ParentId

    Sets the unique id that defines the relationship between the data source items

    Declaration
    public string ParentId { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Root

    Sets the unique id of the root data source item

    Declaration
    public string Root { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    In This Article
    • Constructors
      • DiagramDataSource()
    • Properties
      • ConnectionDataSource
      • ContentTemplate
      • CrudAction
      • DataManager
      • DataMapSettings
      • DataSource
      • DoBinding
      • Id
      • ParentId
      • Root
    Was this page helpful? Yes No
    Thank you for your feedback!
    Thank you for your feedback and comments. We will rectify this as soon as possible!
    An unknown error has occurred. Please try again.
    SEND FEEDBACK REGARDING THIS TOPIC

    Please provide additional information

    Please provide additional information

    Please provide additional information

    Please provide additional information
    Please provide additional information
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved