Edit this page

RadCalculator Template Structure

Like most WPF controls, RadCalculator allows you to template it in order to change the control from inside. Except for templating the whole control, you can template parts of it or even independent controls related to it.

To learn how to style WPF RadControls read the common topics about Styling and Appearance. If you are new to the controls, they will give you the basic knowledge about it.

RadCalculator Template Structure:

  • Calculator - hosts the elements of the template. It represents the border and the background the RadCalculator and is of type Border.

  • Root - provides rows for the template elements of RadCalculator.

  • Border - represents the outer border of the header and is of type Border.

  • Grid - provides rows for the elements in the header.

  • Border - represents the inner border of the header and is of type Border.

  • Border - represents the transparent background of the header and is of type Border.

  • DisplayTextBox - represents a single TextBox control which is responsible for displaying the RadCalculator's value.

  • TextBlock - single TextBlock which represents the Memory indicator of RadCalculator.

  • HistoryTextBox - represents a single TextBox control which is responsible for displaying the RadCalculator's history.

  • Grid - provides rows and columns for RadCalculator's Buttons.

  • RadButton - represents the Delete button and it is of type RadButton.

  • RadButton - represents the Clear Input button and it is of type RadButton.

  • RadButton - represents the Clear Everything button and it is of type RadButton.

  • RadButton - represents the a button which exectues an unary operation and it is of type RadButton.

  • RadButton - represents the a numeric button (0).

  • RadButton - represents the a numeric button (1).

  • RadButton - represents the a numeric button (2).

  • RadButton - represents the a numeric button (3).

  • RadButton - represents the a numeric button (4).

  • RadButton - represents the a numeric button (5).

  • RadButton - represents the a numeric button (6).

  • RadButton - represents the a numeric button (7).

  • RadButton - represents the a numeric button (8).

  • RadButton - represents the a numeric button (9).

  • RadButton - reresents the Plus button and it is of type RadButton.

  • RadButton - reresents the Minus button and it is of type RadButton.

  • RadButton - represents the a button which exectues binary operation and it is of type RadButto (=).

  • RadButton - represents the Multiply button and it is of type RadButton.

  • RadButton - represents the Divide button and it is of type RadButton.

  • RadButton - represents the Percent button and it is of type RadButton.

  • RadButton - represents a button which executes an unary operation and it is of type RadButton.(1/x).

Rad Calculator Template Structure