Represents a control with calculator functionality.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TelerikToolboxCategory("Editors")]
public class RadCalculatorDropDown : RadEditorControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadEditorControlRadCalculatorDropDown...
Implements:
Inherited Members
Constructors
Creates a RadCalculatorDropDown instance.
public RadCalculatorDropDown()
Properties
Gets or sets whether the edit control is auto-sized
[Browsable(true)]
public override bool AutoSize { get; set; }
Overrides:
Gets the RadCalculatorDropDownElement which encapsulates the UI representation and functionality of the control.
[Browsable(false)]
public RadCalculatorDropDownElement CalculatorElement { get; }
Gets the default size of the calculator dropdown control.
protected override Size DefaultSize { get; }
Overrides:
Gets or sets a value indicating whether the calculator dropdown is read only.
[Browsable(true)]
public bool ReadOnly { get; set; }
Methods
Creates the main calculator dropdown element for this control.
protected virtual RadCalculatorDropDownElement CreateCalculatorDropDownElement()
A new instance of RadCalculatorDropDownElement.
Creates the child elements of the calculator dropdown control.
protected override void CreateChildItems(RadElement parent)
The parent RadElement to add child elements to.
Overrides:
Processes the auto size changed event and adjusts the stretch mode accordingly.
protected override void ProcessAutoSizeChanged(bool value)
A value indicating whether auto size is enabled.
Overrides:
Resets the background color theme overrides on the calculator element and its children.
protected override void ResetBackColorThemeOverrides()
Overrides:
Resets the foreground color theme overrides on the calculator element and its children.
protected override void ResetForeColorThemeOverrides()
Overrides:
Sets theme overrides for the background color on the calculator element and its children.
protected override void SetBackColorThemeOverrides()
Overrides:
Sets theme overrides for the foreground color on the calculator element and its children.
protected override void SetForeColorThemeOverrides()
Overrides:
Events
Fires when the value of the calculator has changed.
public event EventHandler CalculatorValueChanged
Fires when the value of the calculator is changing.
public event ValueChangingEventHandler CalculatorValueChanging
Event needed by the engine behind simple data binding so that it can work two way. In order to receive notifications for changes in the calculator value subscribe to the CalculatorValueChanged event.
public event EventHandler ValueChanged