PivotCustomDrawCellThreadSafeEventArgs Class

Provides thread-safe access to the PivotGridControl.CustomDrawCell event data.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

public class PivotCustomDrawCellThreadSafeEventArgs :
    PivotCustomDrawCellBaseThreadSafeEventArgs
Public Class PivotCustomDrawCellThreadSafeEventArgs
    Inherits PivotCustomDrawCellBaseThreadSafeEventArgs

Returned By

The PivotCustomDrawCellEventArgs.ThreadSafeArgs property returns an instance of PivotCustomDrawCellThreadSafeEventArgs.

Remarks

Data for the PivotGridControl.CustomDrawCell event is provided by PivotCustomDrawCellEventArgs objects. For the purpose of thread safety, members exposed by the PivotCustomDrawCellEventArgs class cannot be used to access event data while an asynchronous operation is being performed.

The PivotCustomDrawCellThreadSafeEventArgs class defines a thread-safe event parameter that allows you to access event data when an asynchronous operation is in progress. PivotCustomDrawCellThreadSafeEventArgs objects are owned by the PivotCustomDrawCellEventArgs event parameters and expose properties and methods that provide thread-safe access to the corresponding owner's members. Use the owner's PivotCustomDrawCellEventArgs.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