Evaluates whether the left operand is greater than the right operand; implements the greater-than (>) comparison operator.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class GreaterThanExpression : ComparisonOperatorExpression
Inheritance: objectRadExpressionOperatorExpressionBinaryOperatorExpression<ConstantExpression>ComparisonOperatorExpressionGreaterThanExpression...
Inherited Members
Constructors
Initializes a new instance of the GreaterThanExpression class with the specified left and right operands.
public GreaterThanExpression(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 true and right is false.
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 higher 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 greater 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 greater 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 greater-than operator including its precedence and associativity.
public override OperatorInfo OperatorInfo { get; }
The operator info as OperatorInfo.
Overrides: