A newer version of this page is available. Switch to the current version.

XPPageSelector Class

Presents the XPCollection as a pageable collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll


[ToolboxTabName("DX.18.2: ORM Components")]
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "XPPageSelector")]
public class XPPageSelector :
<ToolboxTabName("DX.18.2: ORM Components")>
<ToolboxBitmap(GetType(ToolboxIconsRootNS), "XPPageSelector")>
Public Class XPPageSelector
    Inherits Component
    Implements IListSource


The XPPageSelector component can be used at design time to split the contents of the specified XPCollection to pages. The XPPageSelector.Collection property specifies the collection that the XPPageSelector is bound to. The page's size is specified by the XPPageSelector.PageSize property.

Unlike the XPCursor, XPPageSelector doesn't provide object enumeration and adjustment of a collection's criteria.


You can try the functionality described here in the Data Representation | Pagination section of the XPO Tutorials demo (C:\Users\Public\Documents\DevExpress Demos 18.2\Components\WinForms\Bin\XpoTutorials.exe).


See Also