Skip to main content
A newer version of this page is available. .

DiagramSettings.SettingsToolbox Property

Provides access to the Toolbox’s settings.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public MVCxDiagramToolboxSettings SettingsToolbox { get; }

Property Value

Type Description
MVCxDiagramToolboxSettings

An object that contains the Toolbox’s settings.

Remarks

@Html.DevExpress().Diagram(settings => {
    settings.Name = "Diagram";
    settings.SettingsToolbox.Groups.Add(g => {
        g.Category = DevExpress.Web.ASPxDiagram.DiagramShapeCategory.Containers;
    });
    settings.SettingsToolbox.Groups.Add(g => {
        g.Category = DevExpress.Web.ASPxDiagram.DiagramShapeCategory.General;
    });
}).Import(Model).GetHtml()

Online Demo

Diagram - Containers

See Also