OfficeIMO

API Reference

Class

CellEdit

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers sealed

Editable cell view used by RowEdit to read current snapshot value and write new value back to the sheet.

Inheritance

  • Object
  • CellEdit

Methods

public T ConvertTo<T>() #
Returns: T

Type Parameters

T
ConvertTo``1() #

Helper for typed conversion consistent with common Convert semantics.

public Void Formula(String formula) #
Returns: Void

Sets a formula on this cell.

Parameters

formula System.String requiredposition: 0
The Excel formula expression using standard worksheet syntax (for example "SUM(A1:A10)" or "A1*0.2") without a leading '=' character.
public Void NumberFormat(String format) #
Returns: Void

Applies an Excel number format to this cell (e.g., "0.00", "yyyy-mm-dd", "[h]:mm:ss").

Parameters

format System.String requiredposition: 0
The Excel number format code to apply, matching the codes accepted by the Excel UI (such as "General", "0.00", "#,##0", or date/time masks).

Properties

public Int32 RowIndex { get; } #

1-based row index.

public Int32 ColumnIndex { get; } #

1-based column index.

public Object Value { get; set; } #

Current value snapshot from read time. Setting this property writes directly to the worksheet cell via Object).