Skip to main content

PivotCustomSummaryEventArgs.CreateDrillDownDataSource() Method

Returns a list of the records which are associated with the cell currently being processed.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public PivotDrillDownDataSource CreateDrillDownDataSource()

Returns

Type Description
PivotDrillDownDataSource

A PivotDrillDownDataSource object which contains the records which are associated with the current cell.

Remarks

The CreateDrillDownDataSource method allows you to retrieve the subset of records from the control’s underlying data source that are associated with the current cell.

The cells in the PivotGrid control display summary and total summary values. Each summary and total summary value is calculated for a specific subset of records in the control’s underlying data source. These records are identified by the values of the column and row fields which are displayed within the column and row headers. The CreateDrillDownDataSource method returns a PivotDrillDownDataSource object, which represents a list of these records.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateDrillDownDataSource() method.

Note

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.

See Also