Class RadCalculatorContentElement
Represents the content element of RadCalculatorDropDown.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadCalculatorContentElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, ICalculatorButtonElementContainer
Constructors
RadCalculatorContentElement(ICalculatorElement)
Creates new instance of RadCalculatorContentElement.
Declaration
public RadCalculatorContentElement(ICalculatorElement owner)
Parameters
ICalculatorElement
owner
The owner of this instance. |
RadCalculatorContentElement(RadCalculatorDropDownElement)
Declaration
[Obsolete("Use the RadCalculatorContentElement(ICalculatorElement owner) constructor instead. This constructor is no longer used and will be removed in R3 2024.")]
public RadCalculatorContentElement(RadCalculatorDropDownElement owner)
Parameters
RadCalculatorDropDownElement
owner
|
Properties
Button0
Gets the button 0.
Declaration
public RadCalculatorButton Button0 { get; }
Property Value
RadCalculatorButton
The button 0. |
Button1
Gets the button 1.
Declaration
public RadCalculatorButton Button1 { get; }
Property Value
RadCalculatorButton
The button 1. |
Button2
Gets the button 2.
Declaration
public RadCalculatorButton Button2 { get; }
Property Value
RadCalculatorButton
The button 2. |
Button3
Gets the button 3.
Declaration
public RadCalculatorButton Button3 { get; }
Property Value
RadCalculatorButton
The button 3. |
Button4
Gets the button 4.
Declaration
public RadCalculatorButton Button4 { get; }
Property Value
RadCalculatorButton
The button 4. |
Button5
Gets the button 5.
Declaration
public RadCalculatorButton Button5 { get; }
Property Value
RadCalculatorButton
The button 5. |
Button6
Gets the button 6.
Declaration
public RadCalculatorButton Button6 { get; }
Property Value
RadCalculatorButton
The button 6. |
Button7
Gets the button 7.
Declaration
public RadCalculatorButton Button7 { get; }
Property Value
RadCalculatorButton
The button 7. |
Button8
Gets the button 8.
Declaration
public RadCalculatorButton Button8 { get; }
Property Value
RadCalculatorButton
The button 8. |
Button9
Gets the button 9.
Declaration
public RadCalculatorButton Button9 { get; }
Property Value
RadCalculatorButton
The button 9. |
ButtonAdd
Gets the button add.
Declaration
public RadCalculatorButton ButtonAdd { get; }
Property Value
RadCalculatorButton
The button add. |
ButtonC
Gets the button C.
Declaration
public RadCalculatorButton ButtonC { get; }
Property Value
RadCalculatorButton
The button C. |
ButtonCE
Gets the button CE.
Declaration
public RadCalculatorButton ButtonCE { get; }
Property Value
RadCalculatorButton
The button CE. |
ButtonDelete
Gets the button delete.
Declaration
public RadCalculatorButton ButtonDelete { get; }
Property Value
RadCalculatorButton
The button delete. |
ButtonDivide
Gets the button divide.
Declaration
public RadCalculatorButton ButtonDivide { get; }
Property Value
RadCalculatorButton
The button divide. |
ButtonEquals
Gets the button equals.
Declaration
public RadCalculatorButton ButtonEquals { get; }
Property Value
RadCalculatorButton
The button equals. |
ButtonMC
Gets the button MC.
Declaration
public RadCalculatorButton ButtonMC { get; }
Property Value
RadCalculatorButton
The button MC. |
ButtonMminus
Gets the button mminus.
Declaration
public RadCalculatorButton ButtonMminus { get; }
Property Value
RadCalculatorButton
The button mminus. |
ButtonMplus
Gets the button mplus.
Declaration
public RadCalculatorButton ButtonMplus { get; }
Property Value
RadCalculatorButton
The button mplus. |
ButtonMR
Gets the button MR.
Declaration
public RadCalculatorButton ButtonMR { get; }
Property Value
RadCalculatorButton
The button MR. |
ButtonMS
Gets the button MS.
Declaration
public RadCalculatorButton ButtonMS { get; }
Property Value
RadCalculatorButton
The button MS. |
ButtonMultiply
Gets the button multiply.
Declaration
public RadCalculatorButton ButtonMultiply { get; }
Property Value
RadCalculatorButton
The button multiply. |
ButtonPercent
Gets the button percent.
Declaration
public RadCalculatorButton ButtonPercent { get; }
Property Value
RadCalculatorButton
The button percent. |
ButtonPoint
Gets the button point.
Declaration
public RadCalculatorButton ButtonPoint { get; }
Property Value
RadCalculatorButton
The button point. |
ButtonReciprocal
Gets the button reciprocal.
Declaration
public RadCalculatorButton ButtonReciprocal { get; }
Property Value
RadCalculatorButton
The button reciprocal. |
ButtonSign
Gets the button sign.
Declaration
public RadCalculatorButton ButtonSign { get; }
Property Value
RadCalculatorButton
The button sign. |
ButtonSqrt
Gets the button SQRT.
Declaration
public RadCalculatorButton ButtonSqrt { get; }
Property Value
RadCalculatorButton
The button SQRT. |
ButtonSubtract
Gets the button subtract.
Declaration
public RadCalculatorButton ButtonSubtract { get; }
Property Value
RadCalculatorButton
The button subtract. |
GridLayout
Gets the grid layout.
Declaration
public GridLayout GridLayout { get; }
Property Value
GridLayout
The grid layout. |
MemoryValue
Declaration
[Obsolete("Use the MemoryValue property of the StandardCalculatorCalculationBehavior instead. This porperty is no longer used and will be removed in R3 2024.")]
public decimal MemoryValue { get; set; }
Property Value
System.Decimal
|
Owner
Gets the owner RadCalculatorElement.
Declaration
public ICalculatorElement Owner { get; }
Property Value
ICalculatorElement
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CreateCalculatorCommandButton(String, CalculatorAction)
Declaration
protected virtual RadCalculatorButton CreateCalculatorCommandButton(string text, CalculatorAction action)
Parameters
System.String
text
|
CalculatorAction
action
|
Returns
RadCalculatorButton
|
CreateCalculatorDeleteButton(String, CalculatorAction)
Declaration
protected virtual RadCalculatorButton CreateCalculatorDeleteButton(string text, CalculatorAction action)
Parameters
System.String
text
|
CalculatorAction
action
|
Returns
RadCalculatorButton
|
CreateCalculatorDigitButton(String, CalculatorAction)
Declaration
protected virtual RadCalculatorButton CreateCalculatorDigitButton(string text, CalculatorAction action)
Parameters
System.String
text
|
CalculatorAction
action
|
Returns
RadCalculatorButton
|
CreateCalculatorEqualsButton(String, CalculatorAction)
Declaration
protected virtual RadCalculatorButton CreateCalculatorEqualsButton(string text, CalculatorAction action)
Parameters
System.String
text
|
CalculatorAction
action
|
Returns
RadCalculatorButton
|
CreateCalculatorMemoryButton(String, CalculatorAction)
Declaration
protected virtual RadCalculatorButton CreateCalculatorMemoryButton(string text, CalculatorAction action)
Parameters
System.String
text
|
CalculatorAction
action
|
Returns
RadCalculatorButton
|
CreateCalculatorOperationButton(String, CalculatorAction)
Declaration
protected virtual RadCalculatorButton CreateCalculatorOperationButton(string text, CalculatorAction action)
Parameters
System.String
text
|
CalculatorAction
action
|
Returns
RadCalculatorButton
|
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
GetButtonTextFromAction(CalculatorAction)
Declaration
protected virtual string GetButtonTextFromAction(CalculatorAction action)
Parameters
CalculatorAction
action
|
Returns
System.String
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnButtonMouseUp(RadCalculatorButton, MouseEventArgs)
Declaration
public void OnButtonMouseUp(RadCalculatorButton button, MouseEventArgs e)
Parameters
RadCalculatorButton
button
|
System.Windows.Forms.MouseEventArgs
e
|
Implements
OnCalculatorKeyDown(KeyEventArgs)
Declaration
public void OnCalculatorKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Implements
OnCalculatorKeyPress(KeyPressEventArgs)
Declaration
public void OnCalculatorKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs
e
|
Implements
OnKeyDown(KeyEventArgs)
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnKeyPress(KeyPressEventArgs)
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
System.Windows.Forms.KeyPressEventArgs
e
|
Overrides
OnOwnerCultureChanged()
Declaration
protected virtual void OnOwnerCultureChanged()
Reset()
Declaration
[Obsolete("Use the ClearEverything and ClearStacksAndHistory methods of the StandardCalculatorCalculationBehavior instead. This method is no longer used and will be removed in R3 2024.")]
public void Reset()
ShouldArrangeChild(RadElement)
Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
RadElement
child
|
Returns
System.Boolean
|
Overrides
ShouldMeasureChild(RadElement)
Declaration
protected override bool ShouldMeasureChild(RadElement child)
Parameters
RadElement
child
|
Returns
System.Boolean
|