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
Initializes a new instance of the VirtualGridSpinEditor class.
public VirtualGridSpinEditor()
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; }
Gets or sets the value.
public override object Value { get; set; }
The value.
Overrides:
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:
Initializes the editor. Used internally in RadVirtualGrid.
public override void Initialize(object owner, object value)
The VirtualGridCellElement that will host this editor.
valueobjectThe initial value of the editor.
Overrides:
Translates system key down events to the owner element.
Handles the key up events in the editor.
protected virtual void OnKeyUp(KeyEventArgs e)
A System.Windows.Forms.KeyEventArgs that contains the event data.
Validates the spin editor.