A control that displays the contents of a Diagram on a web page.
Namespace: MindFusion.Diagramming.Mvc
Assembly: MindFusion.Diagramming.Mvc
C#
![]() |
---|
public class DiagramView |
Visual Basic
![]() |
---|
Public Class DiagramView |
Apart 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
![]() |
---|
@addTagHelper *, MindFusion.Diagramming.Mvc |
System.Object
MindFusion.Diagramming.Mvc.DiagramView
MindFusion.Diagramming.Mvc.TabbedDiagramView