Skip to main content

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

BaseView.PrintExportProgress Event

Fires repeatedly while the View’s data is being printed/exported.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

[DXCategory("Data")]
public event ProgressChangedEventHandler PrintExportProgress

#Event Data

The PrintExportProgress event's data class is ProgressChangedEventArgs. The following properties provide information specific to this event:

Property Description
ProgressPercentage Gets the asynchronous task progress percentage.
UserState Gets a unique user state.

#Remarks

By default, while the View’s data is being exported/printed, the grid control indicates the print/export progress in a separate window. This window’s visibility is specified by the ViewPrintOptionsBase.ShowPrintExportProgress property.

The PrintExportProgress event fires repeatedly while the View’s data is being printed/exported. The event’s ProgressPercentage parameter specifies the progress percentage in the range between 0 to 100%. You can use the PrintExportProgress event to indicate the print/export progress to end-users in a custom manner.

See Also