Class
LessThanOrEqualToExpression

Evaluates whether the left operand is less than or equal to the right operand; implements the less-than-or-equal-to (<=) comparison operator.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class LessThanOrEqualToExpression : ComparisonOperatorExpression

Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<ConstantExpression>ComparisonOperatorExpressionLessThanOrEqualToExpression

Inherited Members ComparisonOperatorExpression.GetValueOverride(ConstantExpression[])ComparisonOperatorExpression.OperandsTypeBinaryOperatorExpression<ConstantExpression>.GetValueOverride()BinaryOperatorExpression<ConstantExpression>.ArgumentConversionRulesBinaryOperatorExpression<ConstantExpression>.LeftBinaryOperatorExpression<ConstantExpression>.RightRadExpression.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

LessThanOrEqualToExpression(RadExpression, RadExpression)

Initializes a new instance of the LessThanOrEqualToExpression class with the specified left and right operands.

Declaration

cs-api-definition
public LessThanOrEqualToExpression(RadExpression left, RadExpression right)

Parameters

left

RadExpression

The left.

right

RadExpression

The right.

Properties

OperatorInfo

Gets metadata about the less-than-or-equal-to operator including its precedence and associativity.

Declaration

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

Property Value

OperatorInfo

The operator info as OperatorInfo.

Overrides OperatorExpression.OperatorInfo

Methods

CompareBooleanExpressions(BooleanExpression, BooleanExpression)

Compares two boolean expressions and returns true unless left is true and right is false.

Declaration

cs-api-definition
protected override bool CompareBooleanExpressions(BooleanExpression left, BooleanExpression right)

Parameters

left

BooleanExpression

The left.

right

BooleanExpression

The right.

Returns

bool

Boolean result.

Overrides ComparisonOperatorExpression.CompareBooleanExpressions(BooleanExpression, BooleanExpression)

CompareDifferentTypeExpressions(ConstantExpression, ConstantExpression)

Compares expressions of different types and returns true if the left type has lower precedence than the right type.

Declaration

cs-api-definition
protected override bool CompareDifferentTypeExpressions(ConstantExpression leftOperandValue, ConstantExpression rightOperandValue)

Parameters

leftOperandValue

ConstantExpression

The left operand value.

rightOperandValue

ConstantExpression

The right operand value.

Returns

bool

Boolean result.

Overrides ComparisonOperatorExpression.CompareDifferentTypeExpressions(ConstantExpression, ConstantExpression)

CompareEmptyExpressions(EmptyExpression, EmptyExpression)

Compares two empty expressions and always returns true since empty values are equal.

Declaration

cs-api-definition
protected override bool CompareEmptyExpressions(EmptyExpression left, EmptyExpression right)

Parameters

left

EmptyExpression

The left.

right

EmptyExpression

The right.

Returns

bool

Boolean result.

Overrides ComparisonOperatorExpression.CompareEmptyExpressions(EmptyExpression, EmptyExpression)

CompareNumberExpressions(NumberExpression, NumberExpression)

Compares two number expressions and returns true if the left value is less than or equal to the right value.

Declaration

cs-api-definition
protected override bool CompareNumberExpressions(NumberExpression left, NumberExpression right)

Parameters

left

NumberExpression

The left.

right

NumberExpression

The right.

Returns

bool

Boolean result.

Overrides ComparisonOperatorExpression.CompareNumberExpressions(NumberExpression, NumberExpression)

CompareStringExpressions(StringExpression, StringExpression)

Compares two string expressions and returns true if the left is alphabetically less than or equal to the right using case-insensitive comparison.

Declaration

cs-api-definition
protected override bool CompareStringExpressions(StringExpression left, StringExpression right)

Parameters

left

StringExpression

The left.

right

StringExpression

The right.

Returns

bool

Boolean result.

Overrides ComparisonOperatorExpression.CompareStringExpressions(StringExpression, StringExpression)