If (DataGrid.ItemsSource IsNot Nothing) Then Dim count As Integer = DataGrid.ItemsSource.OfType(Of Object)().Count() lblCount_stat.Content = "Count: " & count End If
BackgroundWorker
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)