Search
DiagramViewExtensions.DiagramView Method (IHtmlHelper, String, Diagram, Object)
See Also
 





Returns a DiagramView by using the specified HTML helper.

Namespace: MindFusion.Diagramming.Mvc
Assembly: MindFusion.Diagramming.Mvc

 Syntax

C#  Copy Code

public static MvcHtmlString DiagramView (
    HtmlHelper helper,
    string id,
    Diagram diagram,
    Object htmlAttributes
)

Visual Basic  Copy Code

Public Shared Function DiagramView( _
    helper As HtmlHelper, _
    id As String, _
    diagram As Diagram, _
    htmlAttributes As Object _
) As MvcHtmlString

 Parameters

helper

The HTML helper

id

The Id of the DiagramView

diagram

The Diagram displayed by the view

htmlAttributes

An object containing the HTML attributes for the control.

 Return Value

 See Also