Search
DiagramViewExtensions.DiagramView Method (IHtmlHelper, String, Diagram, String, IDictionary(String, 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,
    string initFunction,
    IDictionary<string, Object> htmlAttributes
)

Visual Basic  Copy Code

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

 Parameters

helper

The HTML helper

id

The Id of the DiagramView

diagram

The Diagram displayed by the view

initFunction

The name of the function that will contain the initializing scripts for the view.

htmlAttributes

An object containing the HTML attributes for the control.

 Return Value

 See Also