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

Getting Started with WinForms SpinEditor

Updated over 6 months ago

This article shows how you can start using RadSpinEditor.

Adding Telerik Assemblies Using NuGet

To use RadSpinEditor when working with NuGet packages, install the Telerik.UI.for.WinForms.AllControls package. The package target framework version may vary.

Read more about NuGet installation in the Install using NuGet Packages article.

With the 2025 Q1 release, the Telerik UI for WinForms has a new licensing mechanism. You can learn more about it here.

Adding Assembly References Manually

When dragging and dropping a control from the Visual Studio (VS) Toolbox onto the Form Designer, VS automatically adds the necessary assemblies. However, if you're adding the control programmatically, you'll need to manually reference the following assemblies:

  • Telerik.Licensing.Runtime
  • Telerik.WinControls
  • Telerik.WinControls.UI
  • TelerikCommon

The Telerik UI for WinForms assemblies can be install by using one of the available installation approaches.

Defining the RadSpinEditor

The following tutorial demonstrates changing the thumb position on a RadTrackBar to reflect changes in a RadSpinEditor.

WinForms RadSpinEditor Getting Started

1. Drop a RadSpinEditor and a RadTrackbar on a form.

2. In the Property Window, set the RadSpinEditor Maximum property to "20".

3. Click the Events tab of the Property Window, locate the ValueChanged event and double-click it to create an event handler. Replace the event handler with the following code.

C#
void radSpinEditor1_ValueChanged(object sender, EventArgs e)
{
    this.radTrackBar1.Value = Convert.ToInt32(radSpinEditor1.Value);
}

4. Press F5 to run the application. Experiment with the behavior of the RadSpinEditor by typing values directly to the editor, by clicking the up and down arrows, and by pressing the up and down arrow keys.

Telerik UI for WinForms Learning Resources