Back to Devexpress

TreeList.PrintExportProgress Event

windowsforms-devexpress-dot-xtratreelist-dot-treelist-1380da7f.md

latest2.5 KB
Original Source

TreeList.PrintExportProgress Event

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

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

If the TreeListOptionsPrint.ShowPrintExportProgress option is enabled, the TreeList indicates the print/export progress in a separate window.

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

See Also

ShowPrintExportProgress

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace