Calculator Class
In This Article
Represents a calculator.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
[DXToolboxBrowsable(DXToolboxItemKind.Free)]
public class Calculator :
Control,
ICalculatorViewOwner
#Remarks
The Calculator is shown in the image below:
Its features include:
- Basic Math Functions (add, subtract, multiply, etc.)
- Memory Operations - store, recall, add (M+) and subtract (M-). The value stored in the calculator's memory is returned by the Calculator.Memory property.
- Calculation History - the calculation history is stored by the Calculator.History property.
- Keyboard Support
- Configurable Precision - use the Calculator.Precision property to specify the maximum number of digits displayed to the right of the decimal point.
- Optional Digital Display - use the Calculator.IsDigitalDisplay property to specify whether the calculator has digital or text display.
- Customizable Error Text - handle the Calculator.CustomErrorText event to provide a custom error description.
- Localizable UI
#Inheritance
#Extension Methods
See Also