# Getting Started with WinForms RangeSelector

This tutorial will help you to quickly get started using the control.

## Adding Telerik Assemblies Using NuGet

To use `RadRangeSelector` when working with NuGet packages, install the `Telerik.UI.for.WinForms.AllControls` package. The [package target framework version may vary](https://www.telerik.com/products/winforms/documentation/visual-studio-integration/available-nugets).

Read more about NuGet installation in the [Install using NuGet Packages](https://www.telerik.com/products/winforms/documentation/installation-and-upgrades/install-using-nuget) article.

> tip With the 2025 Q1 release, the Telerik UI for WinForms has a new licensing mechanism. You can learn more about it [here](https://www.telerik.com/products/winforms/documentation/licensing/license-key).

## 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](https://www.telerik.com/products/winforms/documentation/installation-and-upgrades/installing-on-your-computer).

## Defining the RadRangeSelector

This tutorial demonstrates how to use **RadRangeSelector** to get a fine grain view of the data represented in **RadChartView**.

1\. Place a **RadRangeSelector** and **RadChartView** controls on a form.

2\. Setup your **RadChartView** with some data.

3\. Associate the **RadChartView** control to **RadRangeSelector** by setting its **AssociatedControl** property. You can do that by one of the following ways:

* Set in code:

```C#

this.radRangeSelector1.AssociatedControl = this.radChartView1;

```

```VB.NET
Me.radRangeSelector1.AssociatedControl = Me.radChartView1
```

* Set in Property Builder at design time:

  ![WinForms RadRangeSelector Property Builder](https://www.telerik.com/products/winforms/documentation/assets/3937731db89c8a0486fcd96fe323ed03/rangeselector-getting-started001.png)

* Set it by using the control’s SmartTag at design time:
  ![WinForms RadRangeSelector Smart Tag ](https://www.telerik.com/products/winforms/documentation/assets/5c9c64ee0a7da8edfc85a9f4b109e585/rangeselector-getting-started002.png)

4\. Press F5 to run the project.
![WinForms RadRangeSelector Visualization](https://www.telerik.com/products/winforms/documentation/assets/94e7fc7fd726ffe498a3aa4bac08b874/rangeselector-getting-started003.gif)

## See Also

* [Design Time](https://www.telerik.com/products/winforms/documentation/controls/rangeselector/design-time)
* [Structure](https://www.telerik.com/products/winforms/documentation/controls/rangeselector/structure)
* [Integration with RadChartView](https://www.telerik.com/products/winforms/documentation/controls/rangeselector/integration-with-radchartview)

## Telerik UI for WinForms Learning Resources

* [Telerik UI for WinForms RangeSelector Component](https://www.telerik.com/products/winforms/rangeselector.aspx)
* [Getting Started with Telerik UI for WinForms Components](https://docs.telerik.com/devtools/winforms/getting-started/first-steps)
* [Telerik UI for WinForms Setup](https://docs.telerik.com/devtools/winforms/installation-and-upgrades/installing-on-your-computer)
* [Telerik UI for WinForms Converter](https://www.telerik.com/products/winforms/documentation/ai-coding-assistant/converter/converter)
* [Telerik UI for WinForms Visual Studio Templates](https://docs.telerik.com/devtools/winforms/visual-studio-integration/visual-studio-templates)
* [Deploy Telerik UI for WinForms Applications](https://docs.telerik.com/devtools/winforms/deployment-and-distribution/application-deployment)
* [Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)](https://learn.telerik.com/learn/course/external/view/elearning/17/telerik-ui-for-winforms)
* [Telerik UI for WinForms License Agreement)](https://www.telerik.com/purchase/license-agreement/winforms-dlw-s)
