ClassRadCalculator
Represents a calculator control that extends the CalculatorBase class and implements the IThemable interface.
The RadCalculator provides a customizable user interface for performing arithmetic calculations, with support for various themes.
It features a dependency property for setting the font size, and it includes functionality to reset its theme, manage memory buttons,
and handle automation peers for accessibility. The control is designed to be easily styled and integrated into applications, allowing
for fine-tuned user interface behavior with respect to font and display settings.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
[Themable]
[TelerikToolboxCategory("Input")]
public class RadCalculator : CalculatorBase, IDisposable
Inheritance: objectCalculatorBaseRadCalculator
Implements:
Inherited Members
Constructors
RadCalculator()
Initializes a new instance of the RadCalculator class.
Declaration
public RadCalculator()
Fields
FontSizeProperty
Represent the FontSize property.
Declaration
public static readonly DependencyProperty FontSizeProperty
Field Value
DependencyProperty
Properties
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
The class-specific AutomationPeer subclass to return.
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.