Back to Devexpress

IList and IEnumerable Data Sources

wpf-115635-controls-and-libraries-pivot-grid-binding-to-data-items-source-configuration-wizard-ilist-and-ienumerable-data-sources.md

latest1.1 KB
Original Source

IList and IEnumerable Data Sources

  • Mar 14, 2021
  • 2 minutes to read

The Items Source Configuration Wizard allows you to bind the PivotGridControl to any object that implements the IList or IEnumerable interfaces (to learn more about such objects, see Traditional Data Binding Methods). This topic guides you through the steps needed to do this.

Note

In this topic, the data class from the following example will be used: How to: Bind a Control to Data Created at Runtime.

  1. Click the PivotGridControl’s smart tag and select the Items Source Wizard command.

  2. In the invoked Items Source Configuration Wizard, select IList/IEnumerable

  3. On the next page, select the required binding method.

  4. On the final page, you need to specify the name of the required data class.

  5. The PivotGridControl will be bound to the created data source.