# Getting Started with WinForms CalculatorDropDown

This article shows how you can start using **RadCalculatorDropDown**.

## Adding Telerik Assemblies Using NuGet

To use `RadCalculatorDropDown` 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 RadCalculatorDropDown

The following example demonstrates how to set up **RadCalculatorDropDown** with a minmum popup width and height.

> caption Figure 1: Before

![WinForms RadCalculatorDropDown Before](https://www.telerik.com/products/winforms/documentation/assets/4f57cedb86398c04a175dba0c602079d/editors-calculator-getting-started001.png)

1\. Drag a **RadCalculatorDropDown** on a form.

2\. In the constructor of your form add the following code:

```C#
int desiredWidth = this.radCalculatorDropDown1.Width;
this.radCalculatorDropDown1.CalculatorElement.MinPopupWidth = desiredWidth;
this.radCalculatorDropDown1.CalculatorElement.MinPopupHeight = desiredWidth;
```

```VB.NET
Dim desiredWidth As Integer = Me.RadCalculatorDropDown1.Width
Me.RadCalculatorDropDown1.CalculatorElement.MinPopupWidth = desiredWidth
Me.RadCalculatorDropDown1.CalculatorElement.MinPopupHeight = desiredWidth
```

3\. Press **F5** to run the application. Click the arrow button to open the drop-down. Notice its size equaling that of the editor.

> caption Figure 2: After

![WinForms RadCalculatorDropDown After](https://www.telerik.com/products/winforms/documentation/assets/aeb6161bf9731dbd10c0a7482aeea3be/editors-calculator-getting-started002.png)

## See Also

* [Structure](https://www.telerik.com/products/winforms/documentation/controls/editors/calculatordropdown/structure)
* [Smart Tag](https://www.telerik.com/products/winforms/documentation/controls/editors/calculatordropdown/design-time/smart-tag)

## Telerik UI for WinForms Learning Resources

* [Telerik UI for WinForms CalculatorDropDown Component](https://www.telerik.com/products/winforms/calculatordropdown.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)
