Class
UnionExpression

Combines two cell reference range expressions into a union, allowing formulas to reference multiple non-contiguous ranges.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class UnionExpression : CellReferenceBinaryOperatorExpression

Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<CellReferenceRangeExpression>CellReferenceBinaryOperatorExpressionUnionExpression

Inherited Members CellReferenceBinaryOperatorExpression.GetValueOverride(CellReferenceRangeExpression[])CellReferenceBinaryOperatorExpression.GetPrecedents()CellReferenceBinaryOperatorExpression.OperandsTypeBinaryOperatorExpression<CellReferenceRangeExpression>.GetValueOverride()BinaryOperatorExpression<CellReferenceRangeExpression>.ArgumentConversionRulesBinaryOperatorExpression<CellReferenceRangeExpression>.LeftBinaryOperatorExpression<CellReferenceRangeExpression>.RightRadExpression.FinishRegistration(Workbook)RadExpression.IsRegistered()RadExpression.GetValue()RadExpression.GetValueAsString()RadExpression.GetValueAsString(CultureInfo)RadExpression.ToString()RadExpression.ToString(CultureInfo)RadExpression.InvalidateValue()RadExpression.OnValueInvalidated()RadExpression.ValueInvalidated

Constructors

UnionExpression(RadExpression, RadExpression, Workbook)

Initializes a new instance of the UnionExpression class that combines two range expressions.

Declaration

cs-api-definition
public UnionExpression(RadExpression left, RadExpression right, Workbook workbook = null)

Parameters

left

RadExpression

The left.

right

RadExpression

The right.

workbook

Workbook

The workbook.

Properties

OperatorInfo

Gets the operator metadata describing the union operator's precedence and behavior.

Declaration

cs-api-definition
public override OperatorInfo OperatorInfo { get; }

Property Value

OperatorInfo

The operator info as OperatorInfo.

Overrides OperatorExpression.OperatorInfo

Methods

GetCellReferenceValueOverride(CellReferenceRangeExpression[])

Evaluates the union of the operand ranges and returns the combined range expression or an error if the ranges are invalid.

Declaration

cs-api-definition
protected override RadExpression GetCellReferenceValueOverride(CellReferenceRangeExpression[] operands)

Parameters

operands

CellReferenceRangeExpression[]

The operands of type T.

Returns

RadExpression

Value as RadExpression.

Overrides CellReferenceBinaryOperatorExpression.GetCellReferenceValueOverride(CellReferenceRangeExpression[])