LessThanExpression
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
Initializes a new instance of the LessThanExpression class with the specified left and right operands.
public LessThanExpression(RadExpression left, RadExpression right, Workbook workbook = null)
The left.
rightRadExpressionThe right.
workbookWorkbookThe workbook.
Methods
Compares two boolean expressions and returns true only if left is false and right is true.
protected override bool CompareBooleanExpressions(BooleanExpression left, BooleanExpression right)
The left.
rightBooleanExpressionThe right.
Returns:Boolean result.
Overrides:
Compares expressions of different types and returns true if the left type has lower precedence than the right type.
protected override bool CompareDifferentTypeExpressions(ConstantExpression leftOperandValue, ConstantExpression rightOperandValue)
The left operand value.
rightOperandValueConstantExpressionThe right operand value.
Returns:Boolean result.
Overrides:
Compares two empty expressions and always returns false since empty values are equal.
protected override bool CompareEmptyExpressions(EmptyExpression left, EmptyExpression right)
The left.
rightEmptyExpressionThe right.
Returns:Boolean result.
Overrides:
Compares two number expressions and returns true if the left value is less than the right value.
protected override bool CompareNumberExpressions(NumberExpression left, NumberExpression right)
The left.
rightNumberExpressionThe right.
Returns:Boolean result.
Overrides:
Compares two string expressions and returns true if the left is alphabetically less than the right using case-insensitive comparison.
protected override bool CompareStringExpressions(StringExpression left, StringExpression right)
The left.
rightStringExpressionThe right.
Returns:Boolean result.
Overrides:
Properties
Gets metadata about the less-than operator including its precedence and associativity.
public override OperatorInfo OperatorInfo { get; }
The operator info as OperatorInfo.
Overrides: