Skip to main content

PivotSummaryDataSource.GetField(Int32) Method

Returns the field to which the specified column corresponds.

Namespace: DevExpress.XtraPivotGrid

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

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

#Declaration

public PivotGridFieldBase GetField(
    int columnIndex
)

#Parameters

Name Type Description
columnIndex Int32

An integer value that specifies the zero-based index of the summary data source column.

#Returns

Type Description
PivotGridFieldBase

A PivotGridFieldBase object that represents the field to which the specified column corresponds.

#Remarks

To identify the summary data source column by the corresponding pivot grid field, use the PivotSummaryDataSource.GetColumnIndex method.

See Also