Class
CellReferenceRangeExpression

Expression representing one or more cell reference ranges, evaluating to the cell values within those ranges and updating when cell content changes.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class CellReferenceRangeExpression : RadExpression, IWeakEventListener

Inheritance: objectRadExpressionCellReferenceRangeExpression

Implements: IWeakEventListener

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

Properties

CellReferenceRange

Gets the first cell reference range in this expression.

Declaration

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

Property Value

CellReferenceRange

The cell reference range.

CellReferenceRanges

Gets the read-only collection of all cell reference ranges included in this expression.

Declaration

cs-api-definition
public ReadOnlyCollection<CellReferenceRange> CellReferenceRanges { get; }

Property Value

ReadOnlyCollection<CellReferenceRange>

The cell reference ranges.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()

GetValueOverride()

Evaluates all cell reference ranges and returns an array expression containing the cell values.

Declaration

cs-api-definition
protected override RadExpression GetValueOverride()

Returns

RadExpression

The value as RadExpression.

Overrides RadExpression.GetValueOverride()

OnValueInvalidated()

Called when the value is invalidated.

Declaration

cs-api-definition
protected override void OnValueInvalidated()

Overrides RadExpression.OnValueInvalidated()

ReceiveWeakEvent(Type, object, EventArgs)

Receives events from the centralized event manager.

Declaration

cs-api-definition
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)

Parameters

managerType

Type

The type of the calling this method.

sender

object

Object that originated the event.

e

EventArgs

Event data.

Returns

bool

true if the listener handled the event. It is considered an error by the handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.

~CellReferenceRangeExpression()

Destructs the object.

Declaration

cs-api-definition
protected ~CellReferenceRangeExpression()