Class FunctionEvaluationContext<T>
Encapsulates the context for function evaluation, including arguments, worksheet reference, and cell position where the function is invoked.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class FunctionEvaluationContext<T>
Type Parameters
|
T
Type of the arguments. |
Constructors
FunctionEvaluationContext(T[], Worksheet, Int32, Int32)
Initializes a new FunctionEvaluationContext<T> with the specified arguments, worksheet reference, and cell coordinates for function evaluation.
Declaration
public FunctionEvaluationContext(T[] arguments, Worksheet worksheet, int rowIndex, int columnIndex)
Parameters
|
T[]
arguments
The arguments. |
|
Worksheet
worksheet
The worksheet. |
|
System.Int32
rowIndex
Index of the row. |
|
System.Int32
columnIndex
Index of the column. |
Properties
Arguments
Provides the array of arguments passed to the function for evaluation.
Declaration
public T[] Arguments { get; }
Property Value
|
T[]
The arguments. |
ColumnIndex
Returns the zero-based column index of the cell containing the function.
Declaration
public int ColumnIndex { get; }
Property Value
|
System.Int32
The index of the column. |
RowIndex
Returns the zero-based row index of the cell containing the function.
Declaration
public int RowIndex { get; }
Property Value
|
System.Int32
The index of the row. |
Worksheet
Returns the worksheet containing the cell where the function is being evaluated.
Declaration
public Worksheet Worksheet { get; }
Property Value
|
Worksheet
The worksheet. |