Represents the arguments passed to a formula function, organized by parameter name.
Object
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public class FunctionArgumentsRepresents the arguments passed to a formula function, organized by parameter name.
public FunctionArguments(Documents.Spreadsheet.Cell currentCell)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Cell | currentCell |
The cell currently being evaluated (context for functions like ROW/COLUMN when reference is omitted).
public Documents.Spreadsheet.Cell CurrentCell { get; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.Cell | The cell currently being evaluated (context for functions like ROW/COLUMN when reference is omitted). |
Gets the argument groups for a Group parameter. Each inner list is one argument's cells with its range shape preserved (a single cell is a one-element list).
public List<List<Documents.Spreadsheet.CellData>> GetGroups(string parameterName)
| Type | Name | Description |
|---|---|---|
| string | parameterName | The name of the parameter. |
| Type | Description |
|---|---|
| List<List<Documents.Spreadsheet.CellData>> | The list of argument groups, or null if not found. |
Gets a range of CellData values for the specified parameter name.
public List<Documents.Spreadsheet.CellData> GetRange(string parameterName)
| Type | Name | Description |
|---|---|---|
| string | parameterName | The name of the parameter. |
| Type | Description |
|---|---|
| List<Documents.Spreadsheet.CellData> | The list of CellData values, or null if not found. |
Gets a sequence of CellData values for the specified parameter name.
public List<Documents.Spreadsheet.CellData> GetSequence(string parameterName)
| Type | Name | Description |
|---|---|---|
| string | parameterName | The name of the parameter. |
| Type | Description |
|---|---|
| List<Documents.Spreadsheet.CellData> | The list of CellData values, or null if not found. |
Gets a single CellData value for the specified parameter name.
public Documents.Spreadsheet.CellData GetSingle(string parameterName)
| Type | Name | Description |
|---|---|---|
| string | parameterName | The name of the parameter. |
| Type | Description |
|---|---|
| Documents.Spreadsheet.CellData | The CellData value, or null if not found. |
Sets an argument value for the specified parameter name.
public void Set(string parameterName, object value)
| Type | Name | Description |
|---|---|---|
| string | parameterName | The name of the parameter. |
| object | value | The argument value. |