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.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
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