ClassLessThanExpression
Evaluates whether the left operand is less than the right operand; implements the less-than (<) comparison operator.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class LessThanExpression : ComparisonOperatorExpression
Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<ConstantExpression>ComparisonOperatorExpressionLessThanExpression
Inherited Members
Constructors
LessThanExpression(RadExpression, RadExpression)
Initializes a new instance of the LessThanExpression class with the specified left and right operands.
Declaration
public LessThanExpression(RadExpression left, RadExpression right)
Parameters
left
The left.
right
The right.
Properties
OperatorInfo
Gets metadata about the less-than operator including its precedence and associativity.
Declaration
public override OperatorInfo OperatorInfo { get; }
Property Value
The operator info as OperatorInfo.
Overrides
Methods
CompareBooleanExpressions(BooleanExpression, BooleanExpression)
Compares two boolean expressions and returns true only if left is false and right is true.
Declaration
protected override bool CompareBooleanExpressions(BooleanExpression left, BooleanExpression right)
Parameters
left
The left.
right
The right.
Returns
Boolean result.
Overrides
CompareDifferentTypeExpressions(ConstantExpression, ConstantExpression)
Compares expressions of different types and returns true if the left type has lower precedence than the right type.
Declaration
protected override bool CompareDifferentTypeExpressions(ConstantExpression leftOperandValue, ConstantExpression rightOperandValue)
Parameters
leftOperandValue
The left operand value.
rightOperandValue
The right operand value.
Returns
Boolean result.
Overrides
CompareEmptyExpressions(EmptyExpression, EmptyExpression)
Compares two empty expressions and always returns false since empty values are equal.
Declaration
protected override bool CompareEmptyExpressions(EmptyExpression left, EmptyExpression right)
Parameters
left
The left.
right
The right.
Returns
Boolean result.
Overrides
CompareNumberExpressions(NumberExpression, NumberExpression)
Compares two number expressions and returns true if the left value is less than the right value.
Declaration
protected override bool CompareNumberExpressions(NumberExpression left, NumberExpression right)
Parameters
left
The left.
right
The right.
Returns
Boolean result.
Overrides
CompareStringExpressions(StringExpression, StringExpression)
Compares two string expressions and returns true if the left is alphabetically less than the right using case-insensitive comparison.
Declaration
protected override bool CompareStringExpressions(StringExpression left, StringExpression right)
Parameters
left
The left.
right
The right.
Returns
Boolean result.
Overrides