MVCxDiagramToolboxSettings Class

Contains settings that affect the toolbox's functionality.

Namespace: DevExpress.Web.Mvc

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

Declaration

public class MVCxDiagramToolboxSettings :
    DiagramToolboxSettings
Public Class MVCxDiagramToolboxSettings
    Inherits DiagramToolboxSettings

The following members accept/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