The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V19.2
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxWebDocumentViewer.SettingsProgressBar Property

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v19.2.Web.WebForms.dll

Declaration

public WebDocumentViewerProgressBarSettings SettingsProgressBar { get; }
Public ReadOnly Property SettingsProgressBar As WebDocumentViewerProgressBarSettings

Property Value

Type Description
WebDocumentViewerProgressBarSettings

An object that specifies progress bar settings.

Remarks

The SettingsProgressBar 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 a web page that contains the Document Viewer.

Examples

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

using DevExpress.XtraReports.UI;
using DevExpress.XtraReports.Web.WebDocumentViewer;
// ...

XtraReport1 report = new XtraReport1();
// Place the progress bar in the Document Viewer's bottom left corner.
ASPxWebDocumentViewer1.SettingsProgressBar.Position = ProgressBarPosition.BottomLeft;
// Make the progress bar stay within the visible area when users scroll a web page that contains the Document Viewer.
ASPxWebDocumentViewer1.SettingsProgressBar.KeepOnVisibleArea = true;
ASPxWebDocumentViewer1.OpenReport(report);
See Also