DiagramSettings.SimpleView Property

Switches the Diagram extension to simple view mode.

Namespace: DevExpress.Web.Mvc

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

Declaration

public bool SimpleView { get; set; }
Public Property SimpleView As Boolean

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