Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxViewer.SinglePagePreview Property

Specifies whether to display one or multiple pages in a preview.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.Viewer.dll

NuGet Package: DevExpress.Blazor.Viewer

#Declaration

[Parameter]
public bool SinglePagePreview { get; set; }

#Property Value

Type Default Description
Boolean false

true to display one page in a preview; otherwise, false.

#Remarks

If a report contains multiple pages, the Report Viewer displays all those pages in a preview.

Native Report Viewer - Multi-page Preview

To preview one page at a time, set the SinglePagePreview property to true:

razor
<DxReportViewer SinglePagePreview="true" >
</DxReportViewer>

Native Report Viewer - Single-page Preview

See Also