This project has moved and is read-only. For the latest updates, please go here.


Derives from Control

The Calculator is a control used for performing mathematical calculations.



  • Basic Math Functions
  • Memory Operations
    • Clear
    • Store
    • Recall
    • Add (M+)
    • Subract (M-)
  • Mouse and Keyboard support


Property Description
CalculatorButtonPanelTemplate Gets or sets the ControlTemplate of the Calculator buttons to define the wanted calculator buttons.
CalculatorButtonType Gets or sets the type of the calculator button (Add, Equal, Five, Six, Percent, ...). By default, None.
DisplayText Gets or sets the text displayed in the view port.
EnterClosesCalculator Gets or sets a value indicating whether the Enter keyboard button closes the calculator when pressed.
Memory Gets or sets the numeric value stored in memory
Precision Gets or sets the maximum number of digits displayed to the right of the decimal point.
Value Gets or sets the numeric value.


Event Description
ValueChanged Raised when the Value changes.

Support this project, check out the Plus Edition.

Last edited Jun 1, 2016 at 3:46 PM by dlafontaine, version 18


BoucherS Mar 4, 2015 at 1:53 PM 
Issue has been created.

imranshaik Mar 4, 2015 at 11:24 AM 
Pretty bad way of doing styling, you can't override the "BACK" to perhaps a symbol, the button will override it, and although there is an attached dependency property to associate other button to function, the content on those button would be replaced and forced to use the build in button content.

CodeSrbin Jul 15, 2011 at 1:31 PM 
Thank you, nice job.My question is can i override your calculator control to look like windows 7 calculator control with upper label?