API Reference
Class
RowEdit
Editable row view over a worksheet range row. Provides header-aware access and setters.
Inheritance
- Object
- RowEdit
Methods
public CellEdit CellByHeader(String header) #Returns:
CellEditReturns a cell handle for the given header.
Parameters
- header System.String
public T GetOrDefault<T>(String header, T default = null) #Returns:
TType Parameters
- T
Parameters
- header String
- default T = null
GetOrDefault``1(System.String header, ``0 default) #Gets the typed value by header or returns a default.
Parameters
- header System.String
- default ``0
public Void NumberFormat(String header, String format) #Returns:
VoidApplies a number format to the cell resolved by header.
Parameters
- header System.String
- format System.String
public Void Set(String header, Object value) #Returns:
VoidSets a value by header (writes directly to the worksheet cell).
Parameters
- header System.String
- value System.Object
public Void SetFormula(String header, String formula) #Returns:
VoidSets a formula on the cell resolved by header.
Parameters
- header System.String
- formula System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Int32 RowIndex { get; } #1-based row index in the worksheet.
public IReadOnlyList<CellEdit> Cells { get; } #All cell handles for this row (1-based indexer via this[int]).
public CellEdit Item { get; } #1-based numeric indexer for cells within the materialized range.
Item #Header-aware indexer for cells.