Provides thread-safe access to the PivotGridControl.CustomDrawFieldHeaderArea event data.
public class PivotCustomDrawHeaderAreaThreadSafeEventArgs : PivotCustomDrawThreadSafeEventArgs
Public Class PivotCustomDrawHeaderAreaThreadSafeEventArgs Inherits PivotCustomDrawThreadSafeEventArgs
Related API Members
The following members accept/return PivotCustomDrawHeaderAreaThreadSafeEventArgs objects:
Data for the PivotGridControl.CustomDrawFieldHeaderArea event is provided by PivotCustomDrawHeaderAreaEventArgs objects. For the purpose of thread safety, members exposed by the PivotCustomDrawHeaderAreaEventArgs class cannot be used to access event data while an asynchronous operation is being performed.
The PivotCustomDrawHeaderAreaThreadSafeEventArgs class defines a thread-safe event parameter that allows you to access event data when an asynchronous operation is in progress. PivotCustomDrawHeaderAreaThreadSafeEventArgs objects are owned by the PivotCustomDrawHeaderAreaEventArgs event parameters and expose properties and methods that provide thread-safe access to the corresponding owner's members. Use the owner's PivotCustomDrawHeaderAreaEventArgs.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.