Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Data Namespace / DataSourceProvider Class / PageSize Property


In This Topic
    PageSize Property (DataSourceProvider)
    In This Topic
    Gets or sets the number of items that will be requested when a data request query is sent to the server.
    Syntax
    'Declaration
     
    Public Property PageSize As Integer
    'Usage
     
    Dim instance As DataSourceProvider
    Dim value As Integer
     
    instance.PageSize = value
     
    value = instance.PageSize
    public int PageSize {get; set;}

    Property Value

    A value representing the number of items that will be requested when a data query is sent to the server. By default, 0, indicating no limit.
    Exceptions
    ExceptionDescription
    PageSize must be greater than or equal to zero.
    Example
    For example, if the PageSize property is set to 20 and 40 items are required, 2 data request queries for 20 items will be sent to the server rather than one for 40 items.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also