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

PivotDrillDownDataSource Class

Represents a list of the records which are used to calculate summaries for individual cells.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public class PivotDrillDownDataSource :
    IBindingList,
    IList,
    ICollection,
    IEnumerable,
    IEnumerator,
    ITypedList,
    IDisposable

#Remarks

A PivotDrillDownDataSource object is returned by the CreateDrillDownDataSource and CreateOlapDrillDownDataSource methods, provided by the PivotGrid control. Any of these methods allow you to obtain a list of the records which are used to calculate summaries for individual cells.

The PivotDrillDownDataSource class implements the IList interface, so the data returned by the CreateDrillDownDataSource method can easily be displayed in a grid control (DXGrid or DataGrid).

The underlying data for a cell can be accessed via the PivotGridControl.CreateDrillDownDataSource and PivotGridControl.CreateOlapDrillDownDataSource methods. In addition, the CreateDrillDownDataSource and CreateOlapDrillDownDataSource methods are accessible when handling the PivotGridControl.CustomCellAppearance, PivotGridControl.CustomValueAppearance, PivotGridControl.CustomCellDisplayText, PivotGridControl.CellDoubleClick, PivotGridControl.FieldValueDisplayText, and PivotGridControl.CustomSummary events. The method is accessible via an event’s parameter.

Individual rows in the PivotDrillDownDataSource are represented by PivotDrillDownDataRow objects.

In OLAP mode, use the CreateOlapDrillDownDataSource method to retrieve the underlying data. See the PivotGridControl.CreateOlapDrillDownDataSource topic, for specifics on using this method.

#Inheritance

Object
PivotDrillDownDataSource
See Also