Skip to main content

PivotGridControl.GetFieldValueOlapMember(PivotGridField, Int32) Method

Returns an OLAP member for the specified field value.

Namespace: DevExpress.Xpf.PivotGrid

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

#Declaration

public PivotOlapMember GetFieldValueOlapMember(
    PivotGridField field,
    int lastLevelIndex
)

#Parameters

Name Type Description
field PivotGridField

A PivotGridField object that represents the pivot grid field.

lastLevelIndex Int32

An integer value that specifies the cell's index.

#Returns

Type Description
PivotOlapMember

The PivotOlapMember object. null (Nothing) if the specified summary cell doesn't correspond to the specified field's value.

#Remarks

If the field parameter specifies the row field, the lastLevelIndex parameter specifies the summary cell's vertical position (within a column). If the field parameter specifies the column field, the lastLevelIndex parameter specifies the summary cell's horizontal position (within a row).

pivotgrid_getfieldvalue

See Also