PLinqInstantFeedbackDataSource.ListSource Property
Gets or sets the source collection. This is a dependency property.
Namespace: DevExpress.Xpf.Core.ServerMode
Assembly: DevExpress.Xpf.Core.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
IListSource | The source collection implementing IListSource. |
Remarks
To support Parallel LINQ, you should specify the source collection for a PLINQ data source and bind it to the grid. The source collection must implement IEnumerable<T>. You should not provide the exact type of its elements, because the type is automatically evaluated at runtime.
There are three ways to specify the source collection:
- Use a ItemsSourceDataSourceBase.ItemsSource if a source collection implements System.Collections.Generic.IEnumerable<T>.
- Use a
PLinqInstantFeedbackDataSource.ListSource
if a source collection implements System.ComponentModel.IListSource. - You can dynamically specify the source collection within the PLinqInstantFeedbackDataSource.GetEnumerable event handler.
See Also