ClassUnaryMinusExpression
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:
cs-api-definition
public class UnaryMinusExpression : UnaryOperatorExpression
Inheritance: objectRadExpressionOperatorExpressionUnaryOperatorExpressionUnaryMinusExpression
Inherited Members
Constructors
UnaryMinusExpression(RadExpression)
Initializes a new unary minus expression that will negate the operand.
Declaration
cs-api-definition
public UnaryMinusExpression(RadExpression operand)
Parameters
operand
The operand.
Properties
OperatorInfo
Gets the operator metadata for the unary minus operator.
Declaration
cs-api-definition
public override OperatorInfo OperatorInfo { get; }
Property Value
The operator info as OperatorInfo.
Overrides
Methods
GetValueOverride(double)
Calculates the negation of the operand by multiplying by -1.
Declaration
cs-api-definition
protected override RadExpression GetValueOverride(double operand)
Parameters
operand
The operand as double.
Returns
Value as RadExpression.
Overrides