PivotCustomFieldValueCellsEventArgsBase<T1, T2>.FindAllCells(Boolean, Predicate<Object[]>) Method

Returns all cells whose values match the specified condition.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll

Declaration

public List<T2> FindAllCells(
    bool isColumn,
    Predicate<object[]> match
)
Public Function FindAllCells(
    isColumn As Boolean,
    match As Predicate(Of Object())
) As List(Of T2)

Parameters

Name Type Description
isColumn Boolean

True to locate a column; false to locate a row.

match Predicate<Object[]>

A Predicate<Object> delegate that is the method that defines a set of criteria and determines whether the specified object meets those criteria.

Returns

Type Description
List<T2>

A list of cells whose values match the predicate.

Remarks

The code sample is available at DevExpress Demo Center - WinForms Pivot Grid - Code Examples in the Hiding certain data cells module.

See Also