IThreadSafeAccessible Interface

Provides thread-safe access to pivot grid data.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v19.2.Core.dll

Declaration

public interface IThreadSafeAccessible
Public Interface IThreadSafeAccessible

Remarks

The IThreadSafeAccessible interface is implemented by the PivotGridControl class. Members exposed by this interface allow you to access pivot grid data (field and group collections, text displayed within field value and data cells, etc.) while the pivot grid is performing background calculations.

For example, IThreadSafeAccessible members can be used when handling custom painting events. In asynchronous mode, these events are raised before the pivot grid is displayed, and handled in the primary thread while the pivot grid is performing background calculations, making PivotGridControl members inaccessible from the event handlers. In this instance, use the IThreadSafeAccessible members to access pivot grid field and group collections, as well as field values and data cells display text.


IThreadSafeAccessible pivotGridData = (IThreadSafeAccessible)pivotGridControl1;
IThreadSafeField columnField = pivotGridData.GetFieldByArea(PivotArea.ColumnArea, 0);
See Also