New to Telerik UI for WinFormsStart a free 30-day trial

Represents a spin editor in RadGridView.

Definition

Constructors

Initializes a new instance of the GridSpinEditor class.

C#
public GridSpinEditor()

Properties

Gets the type of the editor value

C#
public override Type DataType { get; }

Overrides: BaseGridEditor.DataType

Gets or sets the number of decimal places to display in the editor.

C#
public int DecimalPlaces { get; set; }

Gets a value indicating whether the editor value is modified.

C#
public override bool IsModified { get; }

Overrides: BaseInputEditor.IsModified

Gets or sets the maximum value that could be set in the editor.

C#
public decimal MaxValue { get; set; }

Gets or sets the minimum value that could be set in the editor.

C#
public decimal MinValue { get; set; }

Gets or sets the value which is added to/subtracted from the current value of the editor.

C#
public decimal Step { get; set; }

Gets or sets a value indicating whether a thousands separator is displayed in the editor.

C#
public bool ThousandsSeparator { get; set; }

Gets or sets the value.

C#
public override object Value { get; set; }
Property Value:

The value.

Overrides: BaseInputEditor.Value

Gets or sets the type of the value to use in the editor.

C#
public Type ValueType { get; set; }

Methods

Starts the editing process. Used internally in RadGridView.

C#
public override void BeginEdit()

Overrides: BaseInputEditor.BeginEdit()

Creates a new editor element.

C#
protected override RadElement CreateEditorElement()
Returns:

RadElement

a RadElement if successful

Overrides: BaseInputEditor.CreateEditorElement()

Finishes the editing process. Used internally in RadGridView.

C#
public override bool EndEdit()
Returns:

bool

Overrides: BaseInputEditor.EndEdit()

Translates system key down events to the owner element.

C#
public override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

Overrides: BaseGridEditor.OnKeyDown(KeyEventArgs)

Handles the key up events in the editor.

C#
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters:eKeyEventArgs

A System.Windows.Forms.KeyEventArgs that contains the event data.

Validates the value currently entered in the editor.

C#
public override bool Validate()
Returns:

bool

Overrides: BaseGridEditor.Validate()