Skip to main content

MVCxDiagramToolboxSettings Class

Contains settings that affect the toolbox’s functionality.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public class MVCxDiagramToolboxSettings :
    DiagramToolboxSettings

The following members return MVCxDiagramToolboxSettings objects:

Remarks

These settings can be accessed via the SettingsToolbox property.

@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

Implements

DevExpress.Web.Internal.IPropertiesDirtyTracker

Inheritance

See Also