Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / QueryItemCountEventArgs Class
Members


In This Topic
    QueryItemCountEventArgs Class
    In This Topic
    Provides information on the DataGridVirtualizingCollectionView to which the grid is bound including the number of items that it should contain.
    Syntax
    'Declaration
     
    Public Class QueryItemCountEventArgs 
       Inherits AsyncQueryEventArgs
    'Usage
     
    Dim instance As QueryItemCountEventArgs
    public class QueryItemCountEventArgs : AsyncQueryEventArgs 
    Remarks
    Data virtualization requires that certain "query" events be handled in order for prerequisite information and new items to be provided when necessary. Through the QueryItemCount event, which is raised every time the grid is loaded or refreshed or its state changes (e.g., new sorting or filtering criteria are applied), the total number of records in the underlying data source must be provided, taking into account any filters that are currently applied to the items.
    Inheritance Hierarchy

    System.Object
       System.EventArgs
          Xceed.Wpf.DataGrid.AsyncQueryEventArgs
             Xceed.Wpf.DataGrid.QueryItemCountEventArgs

    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