Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotCustomDrawThreadSafeEventArgs Class

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public class PivotCustomDrawThreadSafeEventArgs :
    PivotCustomDrawBaseThreadSafeEventArgs

The following members return PivotCustomDrawThreadSafeEventArgs objects:

#Remarks

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

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