Class
ArrayExpression

Expression representing a two-dimensional array of expressions, used for multi-cell array formulas and literal array constants.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class ArrayExpression : ConstantExpression<CompressedExpressionCollection>, IEnumerable<RadExpression>, IEnumerable

Inheritance: objectRadExpressionConstantExpressionConstantExpression<CompressedExpressionCollection>ArrayExpression

Implements: IEnumerableIEnumerable<RadExpression>

Inherited Members ConstantExpression<CompressedExpressionCollection>.ValueRadExpression.GetValue()RadExpression.GetValueAsString()RadExpression.GetValueAsString(CultureInfo)RadExpression.ToString()RadExpression.ToString(CultureInfo)RadExpression.InvalidateValue()RadExpression.AttachToChildrenEvent(IEnumerable<RadExpression>)RadExpression.AttachToChildEvent(RadExpression)RadExpression.OnValueInvalidated()RadExpression.ValueInvalidated

Constructors

ArrayExpression(CompressedExpressionCollection)

Initializes a new instance of the ArrayExpression class with the specified expression array.

Declaration

cs-api-definition
public ArrayExpression(CompressedExpressionCollection array)

Parameters

array

CompressedExpressionCollection

The array.

Properties

ColumnCount

Gets the number of columns in the array.

Declaration

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

Property Value

int

The column count.

RowCount

Gets the number of rows in the array.

Declaration

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

Property Value

int

The row count.

this[int, int]

Gets the expression at the specified zero-based row and column indices.

Declaration

cs-api-definition
public RadExpression this[int rowIndex, int columnIndex] { get; }

Parameters

rowIndex

int

columnIndex

int

Property Value

RadExpression

The RadExpression at the specified row and column index.

Methods

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration

cs-api-definition
public IEnumerator<RadExpression> GetEnumerator()

Returns

IEnumerator<RadExpression>

A IEnumerator<T> that can be used to iterate through the collection.

Implements IEnumerable<RadExpression>.GetEnumerator()

GetValueOverride()

Evaluates all expressions in the array and returns a new ArrayExpression with the computed constant values.

Declaration

cs-api-definition
protected override RadExpression GetValueOverride()

Returns

RadExpression

The value as RadExpression.

Overrides ConstantExpression.GetValueOverride()