Skip to main content
A newer version of this page is available. .

PivotCustomDrawCellBaseThreadSafeEventArgs Class

Provides thread-safe access to data for custom painting events invoked for particular data cells.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v19.2.dll

Declaration

public class PivotCustomDrawCellBaseThreadSafeEventArgs :
    PivotCustomDrawBaseThreadSafeEventArgs

The following members return PivotCustomDrawCellBaseThreadSafeEventArgs objects:

Remarks

Data for custom painting events invoked for particular data cells is provided by PivotCustomDrawCellBaseEventArgs objects. For the purpose of thread safety, members exposed by the PivotCustomDrawCellBaseEventArgs class cannot be used to access event data while an asynchronous operation is being performed.

The PivotCustomDrawCellBaseThreadSafeEventArgs class defines a thread-safe event parameter that allows you to access event data when an asynchronous operation is in progress. PivotCustomDrawCellBaseThreadSafeEventArgs objects are owned by PivotCustomDrawCellBaseEventArgs event parameters and expose properties and methods that provide thread-safe access to the corresponding owner’s members. Use the owner’s PivotCustomDrawCellBaseEventArgs.ThreadSafeArgs property to access a thread-safe event parameter. To determine whether an asynchronous operation is being performed, use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property. To learn more, see Asynchronous Mode.

See Also