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.v23.1.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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PLinqInstantFeedbackDataSource class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.