ClassRadCalculatorDropDown
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
RadCalculatorDropDown()
Creates a RadCalculatorDropDown instance.
Declaration
public RadCalculatorDropDown()
Properties
AutoSize
Gets or sets whether the edit control is auto-sized
Declaration
[Browsable(true)]
public override bool AutoSize { get; set; }
Property Value
Overrides
CalculatorElement
Gets the RadCalculatorDropDownElement which encapsulates the UI representation and functionality of the control.
Declaration
[Browsable(false)]
public RadCalculatorDropDownElement CalculatorElement { get; }
Property Value
DefaultSize
Gets the default size of the calculator dropdown control.
Declaration
protected override Size DefaultSize { get; }
Property Value
Overrides
ReadOnly
Gets or sets a value indicating whether the calculator dropdown is read only.
Declaration
[Browsable(true)]
public bool ReadOnly { get; set; }
Property Value
Methods
CreateCalculatorDropDownElement()
Creates the main calculator dropdown element for this control.
Declaration
protected virtual RadCalculatorDropDownElement CreateCalculatorDropDownElement()
Returns
A new instance of RadCalculatorDropDownElement.
CreateChildItems(RadElement)
Creates the child elements of the calculator dropdown control.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
parent
The parent RadElement to add child elements to.
Overrides
OnGotFocus(EventArgs)
Raises the GotFocus event when focus events are enabled.
OnLostFocus(EventArgs)
Raises the LostFocus event when focus events are enabled.
OnSizeChanged(EventArgs)
Handles the size changed event and invalidates the text box measure if the control is visible.
ProcessAutoSizeChanged(bool)
Processes the auto size changed event and adjusts the stretch mode accordingly.
Declaration
protected override void ProcessAutoSizeChanged(bool value)
Parameters
value
A value indicating whether auto size is enabled.
Overrides
ResetBackColorThemeOverrides()
Resets the background color theme overrides on the calculator element and its children.
Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
ResetForeColorThemeOverrides()
Resets the foreground color theme overrides on the calculator element and its children.
Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
SetBackColorThemeOverrides()
Sets theme overrides for the background color on the calculator element and its children.
Declaration
protected override void SetBackColorThemeOverrides()
Overrides
SetForeColorThemeOverrides()
Sets theme overrides for the foreground color on the calculator element and its children.
Declaration
protected override void SetForeColorThemeOverrides()
Overrides
Events
CalculatorValueChanged
Fires when the value of the calculator has changed.
Declaration
public event EventHandler CalculatorValueChanged
Event Value
CalculatorValueChanging
Fires when the value of the calculator is changing.
Declaration
public event ValueChangingEventHandler CalculatorValueChanging
Event Value
ValueChanged
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.