ExtensionsFactory.Diagram(DiagramSettings) Method
Creates a Diagram.
Namespace: DevExpress.Web.Mvc.UI
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
settings | DiagramSettings | The Diagram settings. |
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).
@{DiagramSettings dSettings = new DiagramSettings();
dSettings.Name = "Diagram";}
@Html.DevExpress().Diagram(dSettings).GetHtml()
See Also