New to Telerik UI for WinForms? Start a free 30-day trial

Provides decimal delegates for the calculator's standard arithmetic, unary, and percentage operations.

Definition

Namespace:Telerik.WinControls.UI.Calculator

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ExecuteOperations

Inheritance: objectExecuteOperations

Constructors

C#
public ExecuteOperations()

Properties

Gets a delegate that adds its two decimal operands.

C#
public static Func<decimal, decimal, decimal> Add { get; }

Gets a delegate that divides the first decimal operand by the second.

C#
public static Func<decimal, decimal, decimal> Divide { get; }

Gets a delegate that multiplies its two decimal operands.

C#
public static Func<decimal, decimal, decimal> Multiply { get; }

Gets a delegate that negates its decimal operand.

C#
public static Func<decimal, decimal> Negate { get; }

Gets a delegate that multiplies two decimal operands and divides the product by 100.

C#
public static Func<decimal, decimal, decimal> Percent { get; }

Gets a delegate that returns the reciprocal of its decimal operand.

C#
public static Func<decimal, decimal> Reciprocal { get; }

Gets a delegate that returns the square root of its decimal operand.

C#
public static Func<decimal, decimal> SquareRoot { get; }

Gets a delegate that subtracts the second decimal operand from the first.

C#
public static Func<decimal, decimal, decimal> Subtract { get; }