Class
FunctionEvaluationContext<T>

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:

cs-api-definition
public class FunctionEvaluationContext<T>

Inheritance: objectFunctionEvaluationContext<T>

Constructors

FunctionEvaluationContext(T[], Worksheet, int, int)

Initializes a new FunctionEvaluationContext<T> with the specified arguments, worksheet reference, and cell coordinates for function evaluation.

Declaration

cs-api-definition
public FunctionEvaluationContext(T[] arguments, Worksheet worksheet, int rowIndex, int columnIndex)

Parameters

arguments

T[]

The arguments.

worksheet

Worksheet

The worksheet.

rowIndex

int

Index of the row.

columnIndex

int

Index of the column.

Properties

Arguments

Provides the array of arguments passed to the function for evaluation.

Declaration

cs-api-definition
public T[] Arguments { get; }

Property Value

T[]

The arguments.

ColumnIndex

Returns the zero-based column index of the cell containing the function.

Declaration

cs-api-definition
public int ColumnIndex { get; }

Property Value

int

The index of the column.

RowIndex

Returns the zero-based row index of the cell containing the function.

Declaration

cs-api-definition
public int RowIndex { get; }

Property Value

int

The index of the row.

Worksheet

Returns the worksheet containing the cell where the function is being evaluated.

Declaration

cs-api-definition
public Worksheet Worksheet { get; }

Property Value

Worksheet

The worksheet.