Back to Devexpress

PivotCustomAppearanceThreadSafeEventArgs Class

windowsforms-devexpress-dot-xtrapivotgrid-123f5d65.md

latest3.4 KB
Original Source

PivotCustomAppearanceThreadSafeEventArgs Class

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public class PivotCustomAppearanceThreadSafeEventArgs :
    PivotCustomDrawCellBaseThreadSafeEventArgs
vb
Public Class PivotCustomAppearanceThreadSafeEventArgs
    Inherits 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.

Inheritance

Object PivotCustomDrawBaseThreadSafeEventArgs PivotCustomDrawCellBaseThreadSafeEventArgs PivotCustomAppearanceThreadSafeEventArgs

See Also

PivotCustomAppearanceThreadSafeEventArgs Members

DevExpress.XtraPivotGrid Namespace