Skip to main content

WidgetFactory<TModel>.Diagram() Method

Creates a Diagram control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public DiagramBuilder Diagram()

Returns

Type Description
DiagramBuilder

An instance of DiagramBuilder.

Remarks

This method creates a DiagramBuilder class instance whose members can be used to specify Diagram options.

@(Html.DevExtreme().Diagram() // create a Diagram
    // call methods to specify control options
)
See Also