Getting Started with WinForms CalculatorDropDown
The following example demonstrates how to set up RadCalculatorDropDown with a minmum popup width and height.
1. Drag a RadCalculatorDropDown on a form.
2. In the constructor of your form add the following code:
int desiredWidth = this.radCalculatorDropDown1.Width;
this.radCalculatorDropDown1.CalculatorElement.MinPopupWidth = desiredWidth;
this.radCalculatorDropDown1.CalculatorElement.MinPopupHeight = desiredWidth;
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.
See Also
Telerik UI for WinForms Learning Resources
- Telerik UI for WinForms CalculatorDropDown Component
- Getting Started with Telerik UI for WinForms Components
- Telerik UI for WinForms Setup
- Telerik UI for WinForms Application Modernization
- Telerik UI for WinForms Visual Studio Templates
- Deploy Telerik UI for WinForms Applications
- Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)
- Telerik UI for WinForms License Agreement)