PivotGridControl.ListSource Property

Gets the actual data source whose data is displayed within the control.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

[Browsable(false)]
public IList ListSource { get; }
<Browsable(False)>
Public ReadOnly Property ListSource As IList

Property Value

Type Description
IList

An IList object that represents the actual data source that provides data for the control.

Remarks

To bind the PivotGrid control to a data source use the PivotGridControl.DataSource and PivotGridControl.DataMember properties. If the control is bound to a DataTable object the ListSource property will return the DataView object created for this DataTable. If the control is bound to an object that implements the IList interface, the ListSource property will return this IList

See Also