Xceed DataGrid for WPF v7.2 Documentation
Count Property (DataGridCollectionView)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridCollectionView Class : Count Property
Gets the number of items in the view.
Syntax
'Declaration
 
Public Overrides NotOverridable ReadOnly Property Count As Integer
'Usage
 
Dim instance As DataGridCollectionView

Dim value As Integer

 

value = instance.Count
public override int Count {get;}

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

Reference

DataGridCollectionView Class
DataGridCollectionView Members
Base Implementation in Count