ClassGridSpinEditor
Represents a spin editor in RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridSpinEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseGridEditorGridSpinEditor
Implements:
Inherited Members
Constructors
GridSpinEditor()
Initializes a new instance of the GridSpinEditor class.
Declaration
public GridSpinEditor()
Properties
DataType
Gets the type of the editor value
DecimalPlaces
Gets or sets the number of decimal places to display in the editor.
IsModified
Gets a value indicating whether the editor value is modified.
Declaration
public override bool IsModified { get; }
Property Value
Overrides
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 value.
Declaration
public override object Value { get; set; }
Property Value
The 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.
OnKeyDown(KeyEventArgs)
Translates system key down events to the owner element.
Declaration
public override void OnKeyDown(KeyEventArgs e)
Parameters
e
Overrides
OnKeyUp(KeyEventArgs)
Handles the key up events in the editor.
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
e
A System.Windows.Forms.KeyEventArgs that contains the event data.
Validate()
Validates the value currently entered in the editor.