Class
RadCalculatorPicker

Represents a customizable calculator picker control that allows users to select and input numerical values. It features a drop-down interface for easy access to a calculator while providing properties to manage its state, such as IsDropDownOpen. The control supports automation peer implementations for accessibility purposes and handles mouse wheel events for a better user experience.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
[Themable]
[TelerikToolboxCategory("Input")]
public class RadCalculatorPicker : CalculatorBase, IDisposable

Inheritance: objectCalculatorBaseRadCalculatorPicker

Implements: IDisposable

Inherited Members CalculatorBase.ValuePropertyCalculatorBase.MemoryValuePropertyCalculatorBase.PendingOperationPropertyCalculatorBase.OperationsPropertyCalculatorBase.MemoryButtonsVisibilityPropertyCalculatorBase.DecimalSeparatorPropertyCalculatorBase.HistoryPropertyKeyCalculatorBase.HistoryPropertyCalculatorBase.RegisterCommands()CalculatorBase.Dispose()CalculatorBase.OnValueChanged(decimal, decimal)CalculatorBase.OnMouseLeftButtonDown(MouseButtonEventArgs)CalculatorBase.Dispose(bool)CalculatorBase.ValueCalculatorBase.MemoryValueCalculatorBase.OperationsCalculatorBase.MemoryButtonsVisibilityCalculatorBase.HistoryCalculatorBase.ErrorMessageCalculatorBase.DecimalSeparatorCalculatorBase.ValueChanged

Constructors

RadCalculatorPicker()

Initializes a new instance of the RadCalculatorPicker class.

Declaration

cs-api-definition
public RadCalculatorPicker()

Fields

IsDropDownOpenProperty

Gets the identifier for the Telerik.Windows.Controls.RadCalculatorPicker.IsDropDownOpen dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDropDownOpenProperty

Field Value

DependencyProperty

The identifier for the Telerik.Windows.Controls.RadCalculatorPicker.IsDropDownOpen dependency dependency property.

Properties

IsDropDownOpen

Gets or sets a value that indicates whether the DropDown button is open or closed. This is a dependency property.

Declaration

cs-api-definition
public bool IsDropDownOpen { get; set; }

Property Value

bool

True if this DropDown button is open; otherwise, false.

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

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

When implemented in a derived class, returns class-specific AutomationPeer implementations for the Silverlight automation infrastructure.

Declaration

cs-api-definition
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

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnMouseWheel(MouseWheelEventArgs)

Declaration

cs-api-definition
protected override void OnMouseWheel(MouseWheelEventArgs e)

Parameters

e

MouseWheelEventArgs

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()