Back to Devexpress

DxViewer.SinglePagePreview Property

xtrareports-devexpress-dot-blazor-dot-dxviewer-8dcebb6e.md

latest1.5 KB
Original Source

DxViewer.SinglePagePreview Property

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

Namespace : DevExpress.Blazor

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

NuGet Package : DevExpress.Blazor.Viewer

Declaration

csharp
[Parameter]
public bool SinglePagePreview { get; set; }
vb
<Parameter>
Public Property SinglePagePreview As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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.

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

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

See Also

DxViewer Class

DxViewer Members

DevExpress.Blazor Namespace