Back to Devexpress

IThreadSafeFieldCollection Interface

corelibraries-devexpress-dot-xtrapivotgrid-43a954df.md

latest2.6 KB
Original Source

IThreadSafeFieldCollection Interface

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

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

csharp
public interface IThreadSafeFieldCollection
vb
Public Interface IThreadSafeFieldCollection

The following members return IThreadSafeFieldCollection objects:

LibraryRelated API Members
Cross-Platform Class LibraryIThreadSafeAccessible.Fields
IThreadSafeGroup.Fields
WinForms ControlsPivotCustomDrawBaseThreadSafeEventArgs.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

IThreadSafeFieldCollection Members

DevExpress.XtraPivotGrid Namespace