Skip to main content

DiagramSettings.SimpleView Property

Switches the Diagram extension to simple view mode.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool SimpleView { get; set; }

Property Value

Type Description
Boolean

true, to enable simple view mode; otherwise, false.

Remarks

In simple view mode, the Diagram does not divide the work area into pages and the diagram’s content occupies all the available area inside the component.

@Html.DevExpress().Diagram(settings => {
    settings.Name = "Diagram";
    settings.SimpleView = true;
}).Import(Model).GetHtml()

Diagram Simple View

Users can enable and disable the mode via the UI.

Diagram Settings

Run Demo: Simple View

See Also