DiagramSettings.SettingsToolbox Property

Provides access to the toolbox's settings.

Namespace: DevExpress.Web.Mvc

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

Declaration

public MVCxDiagramToolboxSettings SettingsToolbox { get; }
Public ReadOnly Property SettingsToolbox As MVCxDiagramToolboxSettings

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