Xceed DataGrid for WPF v7.2 Documentation
GetItemCount Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > CollectionViewGroupExtensions Class : GetItemCount Method
The CollectionViewGroup for which to retrieve the item count.
Retrieves the item count for the specified CollectionViewGroup.
Syntax
'Declaration
 
<ExtensionAttribute()>

Public Shared Function GetItemCount( _

   ByVal collectionViewGroup As CollectionViewGroup _

) As Integer
'Usage
 
Dim collectionViewGroup As CollectionViewGroup

Dim value As Integer

 

value = CollectionViewGroupExtensions.GetItemCount(collectionViewGroup)
[Extension()]

public static int GetItemCount( 

   CollectionViewGroup collectionViewGroup

)

Parameters

collectionViewGroup
The CollectionViewGroup for which to retrieve the item count.

Return Value

The item count.
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

CollectionViewGroupExtensions Class
CollectionViewGroupExtensions Members