New to Telerik UI for WinForms? Start a free 30-day trial

Provides spin editing with list-view commit, cancel, and keyboard-navigation behavior.

Definition

Constructors

C#
public ListViewSpinEditor()

Methods

Validates and commits on Return unless Control is the only modifier, cancels on Escape, and clears the spin text when Delete is pressed with all text selected.

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

The key event data.

Overrides: BaseSpinEditor.OnKeyDown(KeyEventArgs)

Validates the spin value when Left or Right reaches a text boundary, accounting for right-to-left input.

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

The key event data.

Overrides: BaseSpinEditor.OnKeyUp(KeyEventArgs)

Commits the edit when focus leaves the entire list-view control.

C#
public override void OnLostFocus()

Overrides: BaseSpinEditor.OnLostFocus()