Returns the row collection as IEnumerable. i.e. All rows that are not DataGridGroupRow: AsEnumerable((r) => !(r is DataGridGroupRow), null); i.e. All currently rows being shown (include group children of visible groups): AsEnumerable(null, (g) => g.GroupRowsVisibility == Visibility.Visible)
Syntax
'Declaration
Public Function AsEnumerable( _
ByVal As System.Predicate(Of DataGridRow), _
ByVal As System.Predicate(Of DataGridGroupRow) _
) As System.Collections.Generic.IEnumerable(Of DataGridRow)
public System.Collections.Generic.IEnumerable<DataGridRow> AsEnumerable(
System.Predicate<DataGridRow> ,
System.Predicate<DataGridGroupRow>
)
Parameters
- predicate
- The predicate.
- recursionPredicate
- The recursion predicate. Where to process children rows in a group or not.
See Also