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

PivotCustomAppearanceThreadSafeEventArgs Class

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.2.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public class PivotCustomAppearanceThreadSafeEventArgs :
    PivotCustomDrawCellBaseThreadSafeEventArgs

The following members return PivotCustomAppearanceThreadSafeEventArgs objects:

Remarks

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

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