Class GridSpinEditor
Represents a spin editor in RadGridView.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridSpinEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
GridSpinEditor()
Initializes a new instance of the GridSpinEditor class.
Declaration
public GridSpinEditor()
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
|
IsModified
Gets a value indicating whether the editor value is modified.
Declaration
public override bool IsModified { get; }
Property Value
System.Boolean
|
Overrides
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()
Finishes the editing process. Used internally in RadGridView.
Declaration
public override bool EndEdit()
Returns
System.Boolean
|
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 value currently entered in the editor.
Declaration
public override bool Validate()
Returns
System.Boolean
|