Back to Devexpress

TreeListOptionsPrint.ShowPrintExportProgress Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsprint-34812ea8.md

latest2.9 KB
Original Source

TreeListOptionsPrint.ShowPrintExportProgress Property

Gets or sets whether a separate window is used to indicate print/export progress.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool ShowPrintExportProgress { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property ShowPrintExportProgress As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if a separate window is used to indicate print/export progress; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ShowPrintExportProgress
TreeList

.OptionsPrint .ShowPrintExportProgress

|

Remarks

If the ShowPrintExportProgress property is set to true , a progress window is displayed while the TreeList’s data is being exported or printed.

If the TreeListOptionsPrint.AllowCancelPrintExport option is enabled, the progress window contains the Cancel button, which allows an end-user to cancel the current print/export operation.

To indicate the print/export progress in a custom manner, handle the TreeList.PrintExportProgress event.

Note

The ShowPrintExportProgress property must be set to false if you print/export the TreeList’s data using PrintableComponentLink objects.

See Also

AllowCancelPrintExport

PrintExportProgress

TreeListOptionsPrint Class

TreeListOptionsPrint Members

DevExpress.XtraTreeList Namespace