Skip to main content

ViewsSettingsBuilder.SimpleView(Action<SimpleViewSettingsBuilder>) Method

Specifies the Simple view mode’s settings.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v23.1.dll

NuGet Package: DevExpress.AspNetCore.RichEdit


public ViewsSettingsBuilder SimpleView(
    Action<SimpleViewSettingsBuilder> configure


Name Type Description
configure Action<SimpleViewSettingsBuilder>

A method that configure the Simple view mode settings.


Type Description

An object that can be used to further configure view settings.


Call the ViewType(ViewType) method with the Simple parameter to enable the Simple view mode. In this mode, the control does not split a document into pages and ignores headers, footers, and page layout settings: margins, orientation, size, columns, and breaks.

    .Views( v => v
        .SimpleView( sv => sv.FixedWidth(300)
            .Paddings(p => p

Alternatively, you can specify the Simple view mode’s settings on the client (simpleViewSettings) or using the Options object (simpleViewSettings).

Run Demo: Simple View

See Also