Skip to main content

DiagramSettings.SettingsToolbox Property

Provides access to the toolbox’s settings.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

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()

Run Demo: Containers

See Also