Back to Devexpress

PivotGridControl.IsAsyncInProgress Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-d07fce33.md

latest3.9 KB
Original Source

PivotGridControl.IsAsyncInProgress Property

Gets whether an asynchronous operation is in progress.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
[Browsable(false)]
public virtual bool IsAsyncInProgress { get; }
vb
<Browsable(False)>
Public Overridable ReadOnly Property IsAsyncInProgress As Boolean

Property Value

TypeDescription
Boolean

true if an asynchronous operation is in progress; otherwise, false.

|

Remarks

While an asynchronous operation is in progress, the Pivot Grid Control does not respond to end-user actions. It displays a wait indicator to show that it is busy. To learn more, see Asynchronous Mode.

Before an asynchronous operation is started, the PivotGridControl.AsyncOperationStarting event is raised. After an operation has been completed, the PivotGridControl.AsyncOperationCompleted event fires.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsAsyncInProgress property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-pivot-grid-create-the-underlying-data-source-asynchronously/CS/XtraPivotGrid_CreateDrillDownDataSourceAsync/Form1.cs#L22

csharp
//Check whether an asynchronous operation is in progress.
if (!pivot.IsAsyncInProgress)

winforms-pivot-grid-create-the-underlying-data-source-asynchronously/VB/XtraPivotGrid_CreateDrillDownDataSourceAsync/Form1.vb#L24

vb
'Check whether an asynchronous operation is in progress.
If Not pivot.IsAsyncInProgress Then

See Also

AsyncOperationStarting

AsyncOperationCompleted

Asynchronous Mode

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace