Class
ConstantExpression<T>

Abstract base for strongly-typed constant expressions that hold a value of type T, enabling type-safe literal values in formulas.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Type Parameters:

T

The type T of the expression value.

Syntax:

cs-api-definition
public abstract class ConstantExpression<T> : ConstantExpression

Inheritance: objectRadExpressionConstantExpressionConstantExpression<T>

Derived Classes: ArrayExpressionBooleanExpressionEmptyExpressionErrorExpressionNumberExpressionStringExpression

Inherited Members ConstantExpression.GetValueOverride()RadExpression.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

ConstantExpression(T)

Initializes a new instance of the ConstantExpression<T> class with the specified typed value.

Declaration

cs-api-definition
protected ConstantExpression(T value)

Parameters

value

T

The value.

Properties

Value

The typed constant value stored in this expression.

Declaration

cs-api-definition
public T Value { get; }

Property Value

T

The value.