Back to Devexpress

PivotGridControl.ListSource Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-6f4028a8.md

latest2.2 KB
Original Source

PivotGridControl.ListSource Property

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Property Value

TypeDescription
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

DataSource

DataMember

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace