Class VirtualGridSpinEditor
Represents a spin editor in RadVirtualGrid.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class VirtualGridSpinEditor : BaseVirtualGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
VirtualGridSpinEditor()
Initializes a new instance of the VirtualGridSpinEditor class.
Declaration
public VirtualGridSpinEditor()
Properties
DataType
Gets the type of the editor value
Declaration
public override Type DataType { get; }
Property Value
System.Type
|
Overrides
DecimalPlaces
Gets or sets the number of decimal places to display in the editor.
Declaration
public int DecimalPlaces { get; set; }
Property Value
System.Int32
|
MaxValue
Gets or sets the maximum value that could be set in the editor.
Declaration
public decimal MaxValue { get; set; }
Property Value
System.Decimal
|
MinValue
Gets or sets the minimum value that could be set in the editor.
Declaration
public decimal MinValue { get; set; }
Property Value
System.Decimal
|
Step
Gets or sets the value which is added to/subtracted from the current value of the editor.
Declaration
public decimal Step { get; set; }
Property Value
System.Decimal
|
ThousandsSeparator
Gets or sets a value indicating whether a thousands separator is displayed in the editor.
Declaration
public bool ThousandsSeparator { get; set; }
Property Value
System.Boolean
|
Value
Gets or sets the value.
Declaration
public override object Value { get; set; }
Property Value
System.Object
The value. |
Overrides
ValueType
Gets or sets the type of the value to use in the editor.
Declaration
public Type ValueType { get; set; }
Property Value
System.Type
|
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
RadElement
a RadElement if successful |
Overrides
EndEdit()
Ends the edit.
Declaration
public override bool EndEdit()
Returns
System.Boolean
|
Overrides
Initialize(Object, Object)
Initializes the editor. Used internally in RadVirtualGrid.
Declaration
public override void Initialize(object owner, object value)
Parameters
System.Object
owner
The VirtualGridCellElement that will host this editor. |
System.Object
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
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnKeyUp(KeyEventArgs)
Handles the key up events in the editor.
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
A System.Windows.Forms.KeyEventArgs that contains the event data. |
Validate()
Validates the spin editor.
Declaration
public override bool Validate()
Returns
System.Boolean
|