Class Diagram
Represents the Diagram UI element.
Inheritance
System.Object
Diagram
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.IUrlResolutionService
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class Diagram : CommonDataBoundControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
Diagram()
Declaration
Properties
AddInfo
Declaration
public object AddInfo { get; set; }
Property Value
Type |
Description |
System.Object |
|
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
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
ConnectorDefaults
Declaration
public Connector ConnectorDefaults { get; set; }
Property Value
Connectors
Declaration
public Collection Connectors { get; }
Property Value
ConnectorTemplate
Declaration
public string ConnectorTemplate { get; set; }
Property Value
Type |
Description |
System.String |
|
ConnectorType
Declaration
public ConnectorType ConnectorType { get; set; }
Property Value
Constraints
Declaration
public DiagramConstraints Constraints { get; set; }
Property Value
Declaration
public DiagramContextMenu ContextMenu { get; set; }
Property Value
DataManager
Declaration
public DataSource DataManager { get; set; }
Property Value
DataSourceSettings
Declaration
public DataSourceSettings DataSourceSettings { get; set; }
Property Value
Declaration
public bool EnableAutoScroll { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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
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
Layers
Declaration
public Collection Layers { get; set; }
Property Value
Layout
Declaration
public Layout Layout { get; set; }
Property Value
Locale
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Model
Declaration
[JsonIgnore]
public DiagramProperties Model { get; set; }
Property Value
NodeDefaults
Declaration
public Node NodeDefaults { get; set; }
Property Value
Nodes
Declaration
public Collection Nodes { get; }
Property Value
NodeTemplate
Declaration
public string NodeTemplate { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
|
Declaration
[JsonProperty("contextMenuBeforeOpen")]
public string OnClientContextMenuBeforeOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
[JsonProperty("contextMenuClick")]
public string OnClientContextMenuClick { get; set; }
Property Value
Type |
Description |
System.String |
|
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 |
|
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
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
Declaration
public ScrollSettings ScrollSettings { get; set; }
Property Value
SelectedItems
Declaration
public SelectedItems SelectedItems { get; set; }
Property Value
SelectorConstraints
Declaration
[Obsolete("Use SelectedItems.Constraints")]
public SelectorConstraints SelectorConstraints { get; set; }
Property Value
SerializationSettings
Declaration
public SerializationSettings SerializationSettings { get; set; }
Property Value
Declaration
public string SetTool { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool ShowTooltip { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SnapSettings
Declaration
public SnapSettings SnapSettings { get; set; }
Property Value
TableName
Declaration
[Obsolete("Use DataSourceSettings.TableName")]
public string TableName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public Tool Tool { get; set; }
Property Value
Declaration
public Tooltip Tooltip { get; set; }
Property Value
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
GetDependentFiles()
Declaration
public override List<string> GetDependentFiles()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Overrides
LoadViewState(Object)
Declaration
protected override void LoadViewState(object state)
Parameters
Type |
Name |
Description |
System.Object |
state |
|
Overrides
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
OnPreRender(EventArgs)
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Overrides
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
Render()
Declaration
Returns
Type |
Description |
System.String |
|
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
Overrides
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
Events
ConnectorCollectionChange
Declaration
public event Diagram.DiagramEventHandler ConnectorCollectionChange
Event Type
NodeCollectionChange
Declaration
public event Diagram.DiagramEventHandler NodeCollectionChange
Event Type
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.IUrlResolutionService