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

Represents a spin editor in RadVirtualGrid.

Definition

Constructors

Initializes a new instance of the VirtualGridSpinEditor class.

C#
public VirtualGridSpinEditor()

Properties

Gets the type of the editor value

C#
public override Type DataType { get; }

Overrides: BaseVirtualGridEditor.DataType

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

C#
public int DecimalPlaces { get; set; }

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()

Ends the edit.

C#
public override bool EndEdit()
Returns:

bool

Overrides: BaseInputEditor.EndEdit()

Initializes the editor. Used internally in RadVirtualGrid.

C#
public override void Initialize(object owner, object value)
Parameters:ownerobject

The VirtualGridCellElement that will host this editor.

valueobject

The initial value of the editor.

Overrides: BaseVirtualGridEditor.Initialize(object, object)

Translates system key down events to the owner element.

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

Overrides: BaseVirtualGridEditor.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 spin editor.

C#
public override bool Validate()
Returns:

bool

Overrides: BaseVirtualGridEditor.Validate()