Lists types of base items that can be used by the “Show Values As” calculation options.
Indicates that the value of a specific item is used for a custom calculation.
Specifies that the value of the previous item is used to calculate the value of the current item in the PivotDataField.BaseField.
Specifies that the value of the next item is used to calculate the value of the current item in the PivotDataField.BaseField.
To use the value of the previous or next item in the PivotDataField.BaseField for a custom calculation, pass the corresponding PivotBaseItemType enumeration value to the PivotDataField.ShowValuesWithCalculation method as a parameter. To use a specific item for a custom calculation, call the PivotDataField.ShowValuesWithCalculation method overload that accepts a PivotItem object as a parameter.
To obtain the type of the base item used for a custom calculation, use the PivotDataField.BaseItemType property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotBaseItemType enum.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.