Encapsulates the context for function evaluation, including arguments, worksheet reference, and cell position where the function is invoked.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Type Parameters:
T
Type of the arguments.
Syntax:
public class FunctionEvaluationContext<T>
Inheritance: objectFunctionEvaluationContext<T>
Constructors
Initializes a new FunctionEvaluationContext<T> with the specified arguments, worksheet reference, and cell coordinates for function evaluation.
public FunctionEvaluationContext(T[] arguments, Worksheet worksheet, int rowIndex, int columnIndex, FunctionExpression functionExpression = null)
The arguments.
worksheetWorksheetThe worksheet.
rowIndexintIndex of the row.
columnIndexintIndex of the column.
functionExpressionFunctionExpressionThe expression that is being evaluated.
Properties
Arguments
T[]
Provides the array of arguments passed to the function for evaluation.
public T[] Arguments { get; }
The arguments.
Returns the zero-based column index of the cell containing the function.
public int ColumnIndex { get; }
The index of the column.
Returns the zero-based row index of the cell containing the function.
public int RowIndex { get; }
The index of the row.