Back to Devexpress

PivotCellBaseEventArgs.IsFieldValueRetrievable(PivotGridField) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotcellbaseeventargs-dot-isfieldvalueretrievable-x28-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-x29.md

latest3.0 KB
Original Source

PivotCellBaseEventArgs.IsFieldValueRetrievable(PivotGridField) Method

Gets whether the value of the specified column or row field can be retrieved for the current cell by the PivotCellBaseEventArgs.GetFieldValue method.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool IsFieldValueRetrievable(
    PivotGridField field
)
vb
Public Function IsFieldValueRetrievable(
    field As PivotGridField
) As Boolean

Parameters

NameTypeDescription
fieldPivotGridField

A PivotGridField object which identifies the column or row field.

|

Returns

TypeDescription
Boolean

true if the specified field’s value can be retrieved via the PivotCellBaseEventArgs.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 via the PivotCellBaseEventArgs.GetFieldValue method. The hierarchical data representation in the DXPivotGrid control is taken into account while evaluating the resultant value.

See Also

ColumnField

GetColumnFields()

GetFieldValue

RowField

GetRowFields()

PivotCellBaseEventArgs Class

PivotCellBaseEventArgs Members

DevExpress.Xpf.PivotGrid Namespace