Back to Devexpress

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

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotcustomfieldvaluecellseventargsbase-2-dot-findallcells-x28-system-dot-boolean-system-dot-predicate-system-dot-object-x29.md

latest2.5 KB
Original Source

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

Returns all cells whose values match the specified condition.

Namespace : DevExpress.XtraPivotGrid

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
isColumnBoolean

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

TypeDescription
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

PivotCustomFieldValueCellsEventArgsBase<T1, T2> Class

PivotCustomFieldValueCellsEventArgsBase<T1, T2> Members

DevExpress.XtraPivotGrid Namespace