A control that displays the contents of a Diagram on a web page.
Namespace: MindFusion.Diagramming.Mvc
Assembly: MindFusion.Diagramming.Mvc
SyntaxC#
Copy Code
|
|---|
public class DiagramView |
Visual Basic
Copy Code
|
|---|
Public Class DiagramView |
RemarksApart from rendering the diagram, DiagramView also controls most aspects of user interaction. The Behavior property specifies how the control responds to user actions with the mouse. AllowInplaceEdit specifies whether users are allowed to edit in-place the content of a diagram element by double-clicking it.
DiagramView can be created inside a Razor page either by invoking the DiagramView html helper, or by adding a <mindfusion-diagramview> tag helper:
Razor
Copy Code
|
|---|
@addTagHelper *, MindFusion.Diagramming.Mvc |
Inheritance HierarchySystem.Object![]()
MindFusion.Diagramming.Mvc.DiagramView
MindFusion.Diagramming.Mvc.TabbedDiagramView
See Also