UnaryMinusExpression
Class
Expression that negates a numeric value, representing the unary minus operator (-).
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
C#
public class UnaryMinusExpression : UnaryOperatorExpression
Inheritance: objectRadExpressionOperatorExpressionUnaryOperatorExpressionUnaryMinusExpression
Inherited Members
Constructors
Initializes a new unary minus expression that will negate the operand.
C#
public UnaryMinusExpression(RadExpression operand, Workbook workbook = null)
The operand.
workbookWorkbookThe workbook.
Methods
Calculates the negation of the operand by multiplying by -1.
C#
protected override RadExpression GetValueOverride(double operand)
The operand as double.
Returns:Value as RadExpression.
Overrides:
Properties
Gets the operator metadata for the unary minus operator.
C#
public override OperatorInfo OperatorInfo { get; }
The operator info as OperatorInfo.
Overrides: