PLinqInstantFeedbackDataSource Class
A non-visual component that you can use as a PLINQ data source for the GridControl in Instant Feedback Mode. This component supports IEnumerable<T> sources.
Namespace: DevExpress.Xpf.Core.ServerMode
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Remarks
You can access PLinqInstantFeedbackDataSource from the Visual Studio XAML Designer. Bind the GridControl to PLinqInstantFeedbackDataSource to speed up in-memory data shaping operations.
Do one of the following to specify the source collection for PLinqInstantFeedbackDataSource:
- Bind the source collection to the PLinqInstantFeedbackDataSource.ListSource property.
- Handle the PLinqInstantFeedbackDataSource.GetEnumerable event.
If you access the source collection, you should check that this operation is thread-safe.
To dispose PLinqInstantFeedbackDataSource
, call the PLinqInstantFeedbackDataSource.Dispose method. If you want to maintain a clean MVVM pattern and dispose the source in a View Model, create a command and bind it to the PLinqInstantFeedbackDataSource.DisposeCommand property.
Refer to the following topic for information on PLINQ data sources: Speed Up In-memory Operations with PLINQ.