Back to Devexpress

BaseView.PrintExportProgress Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-125013e2.md

latest2.6 KB
Original Source

BaseView.PrintExportProgress Event

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

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DXCategory("Data")]
public event ProgressChangedEventHandler PrintExportProgress
vb
<DXCategory("Data")>
Public Event PrintExportProgress As ProgressChangedEventHandler

Event Data

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

PropertyDescription
ProgressPercentageGets the asynchronous task progress percentage.
UserStateGets 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

ShowPrintExportProgress

BaseView Class

BaseView Members

DevExpress.XtraGrid.Views.Base Namespace