Skip to main content

PivotCellEventArgsBase<TField, TData, TCustomTotal>.IsFieldValueRetrievable(TField) Method

Gets whether the value of the specified column or row field can be retrieved for the current cell by the PivotCellEventArgsBase<TField, TData, TCustomTotal>.GetFieldValue method.

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

public bool IsFieldValueRetrievable(
    TField field
)

Parameters

Name Type Description
field TField

A T object which identifies the column or row field.

Returns

Type Description
Boolean

true, if the specified field’s value can be retrieved via the PivotCellEventArgsBase<TField, TData, TCustomTotal>.GetFieldValue method; otherwise, false.

Remarks

Each cell in the data area is identified by particular column and row fields. The IsFieldValueRetrievable method determines whether the value of a specific column/row field can be retrieved for the current cell using the PivotCellEventArgsBase<TField, TData, TCustomTotal>.GetFieldValue method. The hierarchical data representation in the Pivot Grid control is taken into account while evaluating the resultant value.

See Also