wpf-devexpress-dot-xpf-dot-data-954c8317.md
The paged source. This source is obsolete. Use the PagedAsyncSource instead.
Namespace : DevExpress.Xpf.Data
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public sealed class PagedSource :
PagedSourceBase
Public NotInheritable Class PagedSource
Inherits PagedSourceBase
Refer to the Virtual Sources topic to learn more.
Important
The PagedSource is obsolete. Use the PagedAsyncSource instead.
The PagedSource 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 PagedSource.FetchPage event, you should handle the PagedSource.CreateSource and PagedSource.DisposeSource) events:
Get the IssuesContext before you obtain rows:
In the PagedSource.FetchPage handler, return a list of objects separately and specify the FetchPageEventArgs.HasMoreRows property:
You can specify the PagedSourceBase.PageSize property to set the maximum number of rows that can be displayed on a page.
You can set the PagedSourceBase.PageNavigationMode property to Arbitrary to allow navigating to any page.
To show a total page count:
Object DispatcherObject DependencyObject ContentElement FrameworkContentElement DXFrameworkContentElement VirtualSourceBase PagedSourceBase PagedSource
See Also