ClassBaseSpinEditor
Represents a numeric up/down editor.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class BaseSpinEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseSpinEditor
Derived Classes:
Implements:
Inherited Members
Constructors
BaseSpinEditor()
Declaration
public BaseSpinEditor()
Fields
Properties
DataType
Gets the type of the editor value
DecimalPlaces
Gets or sets the number of decimal places to display in the editor.
MaxValue
Gets or sets the maximum value that could be set in the editor.
MinValue
Gets or sets the minimum value that could be set in the editor.
Step
Gets or sets the value which is added to/subtracted from the current value of the editor.
ThousandsSeparator
Gets or sets a value indicating whether a thousands separator is displayed in the editor.
Value
Gets or sets the editor value.
Declaration
public override object Value { get; set; }
Property Value
Overrides
Methods
BeginEdit()
Starts the editing process. Used internally in RadGridView.
Declaration
public override void BeginEdit()
Overrides
CreateEditorElement()
Creates a new editor element.
Declaration
protected override RadElement CreateEditorElement()
Returns
a RadElement if successful
Overrides
EndEdit()
Finishes the editing process. Used internally in RadGridView.
Initialize(object, object)
Initializes the editor. Used internally in RadGridView.
OnKeyDown(KeyEventArgs)
Declaration
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters
e
OnKeyUp(KeyEventArgs)
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
e
OnLostFocus()
Declaration
public virtual void OnLostFocus()
Validate()
Validates the value currently entered in the editor.