Class BaseSpinEditor
Represents a numeric up/down editor.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class BaseSpinEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
BaseSpinEditor()
Declaration
public BaseSpinEditor()
Fields
selectionLength
Declaration
protected int selectionLength
Field Value
System.
|
selectionStart
Declaration
protected int selectionStart
Field Value
System.
|
Properties
DataType
Declaration
public override Type DataType { get; }
Property Value
System.
|
Overrides
DecimalPlaces
Gets or sets the number of decimal places to display in the editor.
Declaration
public int DecimalPlaces { get; set; }
Property Value
System.
|
MaxValue
Gets or sets the maximum value that could be set in the editor.
Declaration
public decimal MaxValue { get; set; }
Property Value
System.
|
MinValue
Gets or sets the minimum value that could be set in the editor.
Declaration
public decimal MinValue { get; set; }
Property Value
System.
|
Step
Gets or sets the value which is added to/subtracted from the current value of the editor.
Declaration
public decimal Step { get; set; }
Property Value
System.
|
ThousandsSeparator
Gets or sets a value indicating whether a thousands separator is displayed in the editor.
Declaration
public bool ThousandsSeparator { get; set; }
Property Value
System.
|
Value
Declaration
public override object Value { get; set; }
Property Value
System.
|
Overrides
ValueType
Gets or sets the type of the value to use in the editor.
Declaration
public Type ValueType { get; set; }
Property Value
System.
|
Methods
BeginEdit()
CreateEditorElement()
Declaration
protected override RadElement CreateEditorElement()
Returns
Overrides
EndEdit()
Declaration
public override bool EndEdit()
Returns
System.
|
Overrides
Initialize(Object, Object)
Declaration
public override void Initialize(object owner, object value)
Parameters
System.
|
System.
|
Overrides
OnKeyDown(KeyEventArgs)
Declaration
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters
System.
|
OnKeyUp(KeyEventArgs)
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
System.
|
OnLostFocus()
Declaration
public virtual void OnLostFocus()
Validate()
Declaration
public override bool Validate()
Returns
System.
|