ClassVirtualGridSpinEditor
Represents a spin editor in RadVirtualGrid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class VirtualGridSpinEditor : BaseVirtualGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseVirtualGridEditorVirtualGridSpinEditor
Implements:
Inherited Members
Constructors
VirtualGridSpinEditor()
Initializes a new instance of the VirtualGridSpinEditor class.
Declaration
public VirtualGridSpinEditor()
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 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()
Ends the edit.
Initialize(object, object)
Initializes the editor. Used internally in RadVirtualGrid.
Declaration
public override void Initialize(object owner, object value)
Parameters
owner
The VirtualGridCellElement that will host this editor.
value
The initial value of the editor.
Overrides
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 spin editor.