IThreadSafeFieldCollection.Item[String] Property
Provides access to individual fields within the collection by the name of the bound data source field.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
IThreadSafeField this[string fieldName] { get; }
#Parameters
Name | Type | Description |
---|---|---|
field |
String | A String that specifies the name of the bound data source field. |
#Property Value
Type | Description |
---|---|
IThread |
An object that implements the IThread |
#Remarks
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.
You can also use indexed notation to access individual fields.
To obtain the number of fields in the collection, use the IThreadSafeFieldCollection.Count property.