# Drop-Down and Increment Buttons

Learn more about Drop-Down and Increment Buttons.

## Content



The specialized **C1Input** controls for date-time and numeric editing, [C1DateEdit](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DateEdit.html) and [C1NumericEdit](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1NumericEdit.html) controls, support drop-down and increment/decrement (up/down) buttons. Button visibility is controlled by the [ShowDropDownButton](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.ShowDropDownButton.html) and [ShowUpDownButtons](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.ShowUpDownButtons.html) properties.

To control drop-down alignment and distance from the control you can use the [DropDownAlign](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.DropDownForm.DropDownAlign.html) and [GapHeight](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.GapHeight.html) properties. To open/close drop-down programmatically, use the [OpenDropDown](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.OpenDropDown.html) and [CloseDropDown](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.CloseDropDown.html) methods. Opening/closing drop-down triggers events [DropDownOpened](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.DropDownOpened.html) and [DropDownClosed](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.DropDownClosed.html). You can use the DropDownOpened event to adjust drop-down properties (mostly, calendar properties in [Calendar](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DateEdit.Calendar.html)) before the drop-down is shown to the user. You can check if the drop-down is open using the [DroppedDown](/componentone/api/win/online-input/dotnet-framework-api/C1.Win.C1Input.4.8/C1.Win.C1Input.C1DropDownControl.DroppedDown.html) property.

## See Also

[C1DateEdit Control](/componentone/docs/win/online-input/usingthec1inputcontr/dropdownandincrement/c1dateeditcontrol)

[C1NumericEdit Control](/componentone/docs/win/online-input/usingthec1inputcontr/dropdownandincrement/c1numericeditcontrol)