menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Diagram

    Show / Hide Table of Contents

    Class Diagram

    Represents the Diagram UI element.

    Inheritance
    System.Object
    CommonDataBoundControl
    Diagram
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonDataBoundControl.PerformDataBinding(IEnumerable)
    CommonDataBoundControl.RaisePostBackEvent(String)
    CommonDataBoundControl.RenderContents(HtmlTextWriter)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class Diagram : CommonDataBoundControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    Diagram()

    Declaration
    public Diagram()

    Properties

    AddInfo

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

    AutoScrollMargin

    Declaration
    [Obsolete("Use PageSettings.AutoScrollBorder")]
    public double AutoScrollMargin { get; set; }
    Property Value
    Type Description
    System.Double

    BackgroundImage

    Declaration
    public BackgroundImage BackgroundImage { get; set; }
    Property Value
    Type Description
    BackgroundImage

    ChildField

    Declaration
    [Obsolete("Use DataSourceSettings.Id")]
    public string ChildField { get; set; }
    Property Value
    Type Description
    System.String

    ClientClick

    Declaration
    [Obsolete("Use OnClientClick")]
    public string ClientClick { get; set; }
    Property Value
    Type Description
    System.String

    ClientDoubleClick

    Declaration
    [Obsolete("Use OnClientDoubleClick")]
    public string ClientDoubleClick { get; set; }
    Property Value
    Type Description
    System.String

    ClientDrop

    Declaration
    [Obsolete("Use OnClientDrop")]
    public string ClientDrop { get; set; }
    Property Value
    Type Description
    System.String

    ClientItemClick

    Declaration
    [Obsolete("Use OnClientItemClick")]
    public string ClientItemClick { get; set; }
    Property Value
    Type Description
    System.String

    ClientMouseEnter

    Declaration
    [Obsolete("Use OnClientMouseEnter")]
    public string ClientMouseEnter { get; set; }
    Property Value
    Type Description
    System.String

    ClientMouseHover

    Declaration
    [Obsolete("Use OnClientMouseHover")]
    public string ClientMouseHover { get; set; }
    Property Value
    Type Description
    System.String

    ClientMouseLeave

    Declaration
    [Obsolete("Use OnClientMouseLeave")]
    public string ClientMouseLeave { get; set; }
    Property Value
    Type Description
    System.String

    ClientTextChange

    Declaration
    [Obsolete("Use OnClientTextChange")]
    public string ClientTextChange { get; set; }
    Property Value
    Type Description
    System.String

    CommandManager

    Declaration
    public CommandManager CommandManager { get; set; }
    Property Value
    Type Description
    CommandManager

    ConnectorDefaults

    Declaration
    public Connector ConnectorDefaults { get; set; }
    Property Value
    Type Description
    Connector

    Connectors

    Declaration
    public Collection Connectors { get; }
    Property Value
    Type Description
    Collection

    ConnectorTemplate

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

    ConnectorType

    Declaration
    public ConnectorType ConnectorType { get; set; }
    Property Value
    Type Description
    ConnectorType

    Constraints

    Declaration
    public DiagramConstraints Constraints { get; set; }
    Property Value
    Type Description
    DiagramConstraints

    ContextMenu

    Declaration
    public DiagramContextMenu ContextMenu { get; set; }
    Property Value
    Type Description
    DiagramContextMenu

    DataManager

    Declaration
    public DataSource DataManager { get; set; }
    Property Value
    Type Description
    DataSource

    DataSourceSettings

    Declaration
    public DataSourceSettings DataSourceSettings { get; set; }
    Property Value
    Type Description
    DataSourceSettings

    EnableAutoScroll

    Declaration
    public bool EnableAutoScroll { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableContextMenu

    Declaration
    public bool EnableContextMenu { get; set; }
    Property Value
    Type Description
    System.Boolean

    Height

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

    HistoryManager

    Declaration
    public HistoryManager HistoryManager { get; set; }
    Property Value
    Type Description
    HistoryManager

    LabelField

    Declaration
    [Obsolete("Use DataSourceSettings.Label")]
    public string LabelField { get; set; }
    Property Value
    Type Description
    System.String

    LabelRenderingMode

    Declaration
    public LabelRenderingMode LabelRenderingMode { get; set; }
    Property Value
    Type Description
    LabelRenderingMode

    Layers

    Declaration
    public Collection Layers { get; set; }
    Property Value
    Type Description
    Collection

    Layout

    Declaration
    public Layout Layout { get; set; }
    Property Value
    Type Description
    Layout

    Locale

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

    Model

    Declaration
    [JsonIgnore]
    public DiagramProperties Model { get; set; }
    Property Value
    Type Description
    DiagramProperties

    NodeDefaults

    Declaration
    public Node NodeDefaults { get; set; }
    Property Value
    Type Description
    Node

    Nodes

    Declaration
    public Collection Nodes { get; }
    Property Value
    Type Description
    Collection

    NodeTemplate

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

    OnClientAutoScrollChange

    Declaration
    [JsonProperty("autoScrollChange")]
    public string OnClientAutoScrollChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientClick

    Declaration
    [JsonProperty("click")]
    public string OnClientClick { get; set; }
    Property Value
    Type Description
    System.String

    OnClientConnectionChange

    Declaration
    [JsonProperty("connectionChange")]
    public string OnClientConnectionChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientConnectorCollectionChange

    Declaration
    [JsonProperty("connectorCollectionChange")]
    public string OnClientConnectorCollectionChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientConnectorSourceChange

    Declaration
    [JsonProperty("connectorSourceChange")]
    public string OnClientConnectorSourceChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientConnectorTargetChange

    Declaration
    [JsonProperty("connectorTargetChange")]
    public string OnClientConnectorTargetChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientContextMenuBeforeOpen

    Declaration
    [JsonProperty("contextMenuBeforeOpen")]
    public string OnClientContextMenuBeforeOpen { get; set; }
    Property Value
    Type Description
    System.String

    OnClientContextMenuClick

    Declaration
    [JsonProperty("contextMenuClick")]
    public string OnClientContextMenuClick { get; set; }
    Property Value
    Type Description
    System.String

    OnClientContextMenuClose

    Declaration
    [JsonProperty("contextMenuClose")]
    public string OnClientContextMenuClose { get; set; }
    Property Value
    Type Description
    System.String

    OnClientCreate

    Declaration
    [JsonProperty("create")]
    public string OnClientCreate { get; set; }
    Property Value
    Type Description
    System.String

    OnClientDestroy

    Declaration
    [JsonProperty("destroy")]
    public string OnClientDestroy { get; set; }
    Property Value
    Type Description
    System.String

    OnClientDoubleClick

    Declaration
    [JsonProperty("doubleClick")]
    public string OnClientDoubleClick { get; set; }
    Property Value
    Type Description
    System.String

    OnClientDrag

    Declaration
    [JsonProperty("drag")]
    public string OnClientDrag { get; set; }
    Property Value
    Type Description
    System.String

    OnClientDragEnter

    Declaration
    [JsonProperty("dragEnter")]
    public string OnClientDragEnter { get; set; }
    Property Value
    Type Description
    System.String

    OnClientDragLeave

    Declaration
    [JsonProperty("dragLeave")]
    public string OnClientDragLeave { get; set; }
    Property Value
    Type Description
    System.String

    OnClientDragOver

    Declaration
    [JsonProperty("dragOver")]
    public string OnClientDragOver { get; set; }
    Property Value
    Type Description
    System.String

    OnClientDrop

    Declaration
    [JsonProperty("drop")]
    public string OnClientDrop { get; set; }
    Property Value
    Type Description
    System.String

    OnClientEditorFocusChange

    Declaration
    [JsonProperty("editorFocusChange")]
    public string OnClientEditorFocusChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientGroupChange

    Declaration
    [JsonProperty("groupChange")]
    public string OnClientGroupChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientHistoryChange

    Declaration
    [JsonProperty("historyChange")]
    public string OnClientHistoryChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientItemClick

    Declaration
    [JsonProperty("itemClick")]
    public string OnClientItemClick { get; set; }
    Property Value
    Type Description
    System.String

    OnClientMouseEnter

    Declaration
    [JsonProperty("mouseEnter")]
    public string OnClientMouseEnter { get; set; }
    Property Value
    Type Description
    System.String

    OnClientMouseHover

    Declaration
    [JsonProperty("mouseHover")]
    public string OnClientMouseHover { get; set; }
    Property Value
    Type Description
    System.String

    OnClientMouseLeave

    Declaration
    [JsonProperty("mouseLeave")]
    public string OnClientMouseLeave { get; set; }
    Property Value
    Type Description
    System.String

    OnClientNodeCollectionChange

    Declaration
    [JsonProperty("nodeCollectionchange")]
    public string OnClientNodeCollectionChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientPropertyChange

    Declaration
    [JsonProperty("propertyChange")]
    public string OnClientPropertyChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientRotationChange

    Declaration
    [JsonProperty("rotationChange")]
    public string OnClientRotationChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientScrollChange

    Declaration
    [JsonProperty("scrollChange")]
    public string OnClientScrollChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientSegmentChange

    Declaration
    [JsonProperty("segmentChange")]
    public string OnClientSegmentChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientSelectionChange

    Declaration
    [JsonProperty("selectionChange")]
    public string OnClientSelectionChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientSizeChange

    Declaration
    [JsonProperty("sizeChange")]
    public string OnClientSizeChange { get; set; }
    Property Value
    Type Description
    System.String

    OnClientTemplateNodeRendering

    Declaration
    [JsonProperty("templateNodeRendering")]
    public string OnClientTemplateNodeRendering { get; set; }
    Property Value
    Type Description
    System.String

    OnClientTextChange

    Declaration
    [JsonProperty("textChange")]
    public string OnClientTextChange { get; set; }
    Property Value
    Type Description
    System.String

    PageSettings

    Declaration
    public PageSettings PageSettings { get; set; }
    Property Value
    Type Description
    PageSettings

    ParentField

    Declaration
    [Obsolete("Use DataSourceSettings.Parent")]
    public string ParentField { get; set; }
    Property Value
    Type Description
    System.String

    Query

    Declaration
    [Obsolete("Use DataSourceSettings.Query")]
    public string Query { get; set; }
    Property Value
    Type Description
    System.String

    RulerSettings

    Declaration
    public RulerSettings RulerSettings { get; set; }
    Property Value
    Type Description
    RulerSettings

    ScrollSettings

    Declaration
    public ScrollSettings ScrollSettings { get; set; }
    Property Value
    Type Description
    ScrollSettings

    SelectedItems

    Declaration
    public SelectedItems SelectedItems { get; set; }
    Property Value
    Type Description
    SelectedItems

    SelectorConstraints

    Declaration
    [Obsolete("Use SelectedItems.Constraints")]
    public SelectorConstraints SelectorConstraints { get; set; }
    Property Value
    Type Description
    SelectorConstraints

    SerializationSettings

    Declaration
    public SerializationSettings SerializationSettings { get; set; }
    Property Value
    Type Description
    SerializationSettings

    SetTool

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

    ShowTooltip

    Declaration
    public bool ShowTooltip { get; set; }
    Property Value
    Type Description
    System.Boolean

    SnapSettings

    Declaration
    public SnapSettings SnapSettings { get; set; }
    Property Value
    Type Description
    SnapSettings

    TableName

    Declaration
    [Obsolete("Use DataSourceSettings.TableName")]
    public string TableName { get; set; }
    Property Value
    Type Description
    System.String

    Tool

    Declaration
    public Tool Tool { get; set; }
    Property Value
    Type Description
    Tool

    Tooltip

    Declaration
    public Tooltip Tooltip { get; set; }
    Property Value
    Type Description
    Tooltip

    TooltipTemplateId

    Declaration
    [Obsolete("Use SelectedItems.Tooltip.TemplateId")]
    public string TooltipTemplateId { get; set; }
    Property Value
    Type Description
    System.String

    Width

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

    ZoomFactor

    Declaration
    [Obsolete("Use ScrollSettings.ZoomFactor")]
    public double ZoomFactor { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    DependentScripts()

    Declaration
    public List<string> DependentScripts()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    FetchData(IEnumerable)

    Declaration
    public override void FetchData(IEnumerable data)
    Parameters
    Type Name Description
    System.Collections.IEnumerable data
    Overrides
    CommonDataBoundControl.FetchData(IEnumerable)

    GetDependentFiles()

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonDataBoundControl.GetDependentFiles()

    LoadViewState(Object)

    Declaration
    protected override void LoadViewState(object state)
    Parameters
    Type Name Description
    System.Object state
    Overrides
    CommonDataBoundControl.LoadViewState(Object)

    OnInit(EventArgs)

    Declaration
    protected override void OnInit(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnLoad(EventArgs)

    Declaration
    protected override void OnLoad(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    CommonDataBoundControl.OnLoad(EventArgs)

    OnPreRender(EventArgs)

    Declaration
    protected override void OnPreRender(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    CommonDataBoundControl.OnPreRender(EventArgs)

    PostBackEventHandler(String, Dictionary<String, Object>)

    Declaration
    public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
    Parameters
    Type Name Description
    System.String EventName
    System.Collections.Generic.Dictionary<System.String, System.Object> args
    Overrides
    CommonDataBoundControl.PostBackEventHandler(String, Dictionary<String, Object>)

    Render()

    Declaration
    public string Render()
    Returns
    Type Description
    System.String

    Render(HtmlTextWriter)

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    System.Web.UI.HtmlTextWriter writer
    Overrides
    CommonDataBoundControl.Render(HtmlTextWriter)

    UpdateServerModel(Dictionary<String, Object>)

    Declaration
    public override void UpdateServerModel(Dictionary<string, object> ClientModel)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Object> ClientModel
    Overrides
    CommonDataBoundControl.UpdateServerModel(Dictionary<String, Object>)

    Events

    ConnectorCollectionChange

    Declaration
    public event Diagram.DiagramEventHandler ConnectorCollectionChange
    Event Type
    Type Description
    Diagram.DiagramEventHandler

    NodeCollectionChange

    Declaration
    public event Diagram.DiagramEventHandler NodeCollectionChange
    Event Type
    Type Description
    Diagram.DiagramEventHandler

    Implements

    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved