Click or drag to resize
NanoXLSX

WorksheetFirstOrDefaultCell Method

Searches for the first occurrence of the expression. Example: var cell = worksheet.FindCell(c => c.Value?.ToString().Contains("searchValue"));

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public Cell FirstOrDefaultCell(
	Func<Cell, bool> predicate
)

Parameters

predicate  FuncCell, Boolean

[Missing <param name="predicate"/> documentation for "M:NanoXLSX.Worksheet.FirstOrDefaultCell(System.Func{NanoXLSX.Cell,System.Boolean})"]

Return Value

Cell
The first cell containing the searched value or null if the value was not found
See Also