wpf-devexpress-dot-xpf-dot-data-1e1559d4.md
The infinite source. This source is obsolete. Use the InfiniteAsyncSource instead.
Namespace : DevExpress.Xpf.Data
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public sealed class InfiniteSource :
InfiniteSourceBase
Public NotInheritable Class InfiniteSource
Inherits InfiniteSourceBase
Refer to the Virtual Sources topic to learn more.
Important
The InfiniteSource is obsolete. Use the InfiniteAsyncSource instead.
The InfiniteSource raises events consecutively in the UI Thread and processes data in a single separate Working Thread.
Note
Only values of the Char, SByte, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Decimal, DateTime, String, Guid, Enum types are available in the UI Thread.
For other types, the UI Thread creates thread-safe proxy objects. You can allow access to these values in the following ways:
In addition to the InfiniteSource.FetchRows event, you should handle the InfiniteSource.CreateSource and InfiniteSource.DisposeSource events:
Get the IssuesContext before obtaining rows:
In the InfiniteSource.FetchRows handler, return a list of objects separately and specify the FetchRowsEventArgs.HasMoreRows property:
Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement VirtualSourceBase InfiniteSourceBase InfiniteSource
See Also