ClassCalculatorBase
Represents a base class for calculator controls.
Definition
Namespace:Telerik.UI.Xaml.Controls.Calculator
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class CalculatorBase : Control
Inheritance: objectCalculatorBase
Derived Classes:
Constructors
CalculatorBase()
Declaration
public CalculatorBase()
Fields
DecimalSeparatorProperty
Identifies the DecimalSeparator dependency property.
Declaration
public static readonly DependencyProperty DecimalSeparatorProperty
Field Value
DependencyProperty
HistoryProperty
Identifies the DecimalSeparator dependency property.
Declaration
public static readonly DependencyProperty HistoryProperty
Field Value
DependencyProperty
HistoryPropertyKey
Identifies the History dependency property.
Declaration
public static readonly DependencyPropertyKey HistoryPropertyKey
Field Value
MemoryButtonsVisibilityProperty
Identifies the MemoryButtonsVisibility dependency property.
Declaration
public static readonly DependencyProperty MemoryButtonsVisibilityProperty
Field Value
DependencyProperty
MemoryValueProperty
Identifies the MemoryValue dependency property.
Declaration
public static readonly DependencyProperty MemoryValueProperty
Field Value
DependencyProperty
OperationsProperty
Identifies the Operations dependency property.
Declaration
public static readonly DependencyProperty OperationsProperty
Field Value
DependencyProperty
PendingOperationProperty
Identifies the PendingOperation dependency property.
Declaration
public static readonly DependencyProperty PendingOperationProperty
Field Value
DependencyProperty
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
DependencyProperty
Properties
DecimalSeparator
Gets decimal separator depending on the current culture.
ErrorMessage
Gets or sets the error message.
Declaration
public string ErrorMessage { get; set; }
Property Value
The error message.
History
Gets the history.
MemoryButtonsVisibility
Gets or sets calculator's memory buttons visibility.
Declaration
public Visibility MemoryButtonsVisibility { get; set; }
Property Value
Visibility
The MemoryButtonsVisibility.
MemoryValue
Gets CalculatorBase's current memory value.
Operations
Gets or sets calculator's operations source.
Declaration
public OperationsSource Operations { get; set; }
Property Value
The operations.
Methods
OnPointerPressed(PointerRoutedEventArgs)
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
e
PointerRoutedEventArgs
OnValueChanged(decimal, decimal)
Raises the event.
RegisterCommands()
Registers the used CalculatorBaseCommands.
Declaration
public static void RegisterCommands()
Events
ValueChanged
Occurs when the calculator's value is changed.
Declaration
public event EventHandler<ValueChangedEventArgs> ValueChanged
Event Value