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

Represents a spin editor in RadTreeView.

Definition

Constructors

C#
public TreeViewSpinEditor()

Methods

Validates and commits on Return without Ctrl, cancels on Escape, and clears the text when Delete covers it entirely.

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

The key event data.

Overrides: BaseSpinEditor.OnKeyDown(KeyEventArgs)

Validates the editor when Left or Right reaches the text boundary appropriate to the reading direction.

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

The key event data.

Overrides: BaseSpinEditor.OnKeyUp(KeyEventArgs)

Ends node editing when focus leaves the tree control, unless the row is invalid or an edit is already ending.

C#
public override void OnLostFocus()

Overrides: BaseSpinEditor.OnLostFocus()