Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridVirtualizingCollectionViewBase Class / Count Property


    Count Property (DataGridVirtualizingCollectionViewBase)
    Gets the number of items in the view.
    Syntax
    'Declaration
     
    Public Overrides ReadOnly Property Count As Integer
     
    'Usage
     
    Dim instance As DataGridVirtualizingCollectionViewBase
    Dim value As Integer
     
    value = instance.Count

    Property Value

    The number of items in the view. Can be -1 if the number of items is unknown.
    Remarks
    If a filter is set, this property will only count the items that pass the filter.
    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