Class ArrayExpression
Expression representing a two-dimensional array of expressions, used for multi-cell array formulas and literal array constants.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class ArrayExpression : ConstantExpression<CompressedExpressionCollection>, IPrecalculatedExpressionThreeNode, IEnumerable<RadExpression>, IEnumerable
Constructors
ArrayExpression(CompressedExpressionCollection)
Initializes a new instance of the ArrayExpression class with the specified expression array.
Declaration
public ArrayExpression(CompressedExpressionCollection array)
Parameters
|
CompressedExpressionCollection
array
The array. |
Properties
ColumnCount
Gets the number of columns in the array.
Declaration
public int ColumnCount { get; }
Property Value
|
System.Int32
The column count. |
Item[Int32, Int32]
Gets the expression at the specified zero-based row and column indices.
Declaration
public RadExpression this[int rowIndex, int columnIndex] { get; }
Parameters
|
System.Int32
rowIndex
|
|
System.Int32
columnIndex
|
Property Value
|
RadExpression
The RadExpression at the specified row and column index. |
RowCount
Gets the number of rows in the array.
Declaration
public int RowCount { get; }
Property Value
|
System.Int32
The row count. |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<RadExpression> GetEnumerator()
Returns
|
System.Collections.Generic.IEnumerator<RadExpression>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
GetValueOverride()
Evaluates all expressions in the array and returns a new ArrayExpression with the computed constant values.
Declaration
protected override RadExpression GetValueOverride()
Returns
|
RadExpression
The value as RadExpression. |
Overrides
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |