Skip to main content

WebDocumentViewerBuilder.ProgressBarSettings(Action<ProgressBarSettings>) Method

Provides access to the Web Document Viewer‘s progress bar settings.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

NuGet Package: DevExpress.AspNetCore.Reporting


public WebDocumentViewerBuilder ProgressBarSettings(
    Action<ProgressBarSettings> configure


Name Type Description
configure Action<ProgressBarSettings>

A delegate method that includes progress bar settings.


Type Description

A WebDocumentViewerBuilder that can be used to further configure the Document Viewer.


The ProgressBarSettings property allows you to set the Web Document Viewer‘s progress bar position and behavior.

This property provides access to the following properties:

  • Position - specifies the progress bar’s position.
  • KeepOnVisibleArea - specifies if the progress bar retains its position when users scroll the Document Viewer’s webpage.


The code sample below illustrates how to change the progress bar’s position and reaction to web page scroll events in ASP.NET Core applications.

    .ProgressBarSettings(settings => {
        // Place the progress bar in the Document Viewer's bottom left corner.
        settings.Position = DevExpress.XtraReports.Web.WebDocumentViewer.ProgressBarPosition.BottomLeft;
        // Make the progress bar stay within the visible area when users scroll a web page that contains the Document Viewer.
        settings.KeepOnVisibleArea = false;
See Also