Skip to main content

IThreadSafeFieldCollection Interface

Provides thread-safe access to the pivot grid fields collection.

Namespace: DevExpress.XtraPivotGrid

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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public interface IThreadSafeFieldCollection

The following members return IThreadSafeFieldCollection objects:

Library Related API Members
Cross-Platform Class Library IThreadSafeAccessible.Fields
IThreadSafeGroup.Fields
WinForms Controls PivotCustomDrawBaseThreadSafeEventArgs.Fields

Remarks

Objects that implement the IThreadSafeFieldCollection interface provide thread-safe read-only access to the field collection. These objects are returned by properties and methods used to retrieve pivot grid data from another thread. For more information, see Asynchronous Mode.

To access individual fields, use indexed notation or the bound field name as parameters. If there are several fields with the same name in the collection (for example, the GroupInterval feature is used), the first found field will be returned. To obtain the number of fields in the collection, use the IThreadSafeFieldCollection.Count property.

The IThreadSafeFieldCollection collection stores objects that implement the IThreadSafeField interface. They provide thread-safe read-only access to basic settings of individual fields. To learn more, see IThreadSafeField.

See Also