Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.GetFieldValueType(PivotGridField, Int32) Method

Gets the type of a specific column/row field’s value.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

public PivotGridValueType GetFieldValueType(
    PivotGridField field,
    int lastLevelIndex
)

#Parameters

Name Type Description
field PivotGridField

A PivotGridField object that refers to the required field.

lastLevelIndex Int32

A zero-based index of a column/row that identifies the required field value. Indexes are numbered starting from the left, for column fields, and from the top, for row fields.

#Returns

Type Description
PivotGridValueType

A PivotGridValueType value that identifies the type of the required column/row field value.

See Also