ExtensionsFactory.Diagram(Action<DiagramSettings>) Method
Creates a Diagram.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v25.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| method | Action<DiagramSettings> | A delegate method that accepts DiagramSettings as a parameter. |
Returns
| Type | Description |
|---|---|
| DiagramExtension | The Diagram extension. |
Remarks
The Diagram helper method adds the Diagram extension (DiagramExtension) to a view. The method’s parameter provides access to the Diagram’s settings (DiagramSettings).
@Html.DevExpress().Diagram(settings => {
settings.Name = "Diagram";
}).GetHtml()
See Also