BaseSpinEditor
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
public BaseSpinEditor()
Fields
protected int selectionLength
protected int selectionStart
Properties
Gets or sets the number of decimal places to display in the editor.
public int DecimalPlaces { get; set; }
Gets or sets the maximum value that could be set in the editor.
public decimal MaxValue { get; set; }
Gets or sets the minimum value that could be set in the editor.
public decimal MinValue { get; set; }
Gets or sets the value which is added to/subtracted from the current value of the editor.
public decimal Step { get; set; }
Gets or sets a value indicating whether a thousands separator is displayed in the editor.
public bool ThousandsSeparator { get; set; }
Methods
Starts the editing process. Used internally in RadGridView.
public override void BeginEdit()
Overrides:
Creates a new editor element.
protected override RadElement CreateEditorElement()
a RadElement if successful
Overrides:
Finishes the editing process. Used internally in RadGridView.
public virtual void OnLostFocus()
Validates the value currently entered in the editor.