DomainUpDown Control (Windows Forms)
The Windows Forms DomainUpDown control looks like a combination of a text box and a pair of arrows for moving up or down through a list. The control displays and sets a text string from a list of choices. The user can select the string by clicking up and down buttons to move through a list, by pressing the UP and DOWN ARROW keys, or by typing a string that matches an item in the list. One possible use for this control is for selecting items from an alphabetically sorted list of names. (To sort the list, set the Sorted property to true.) The function of this control is very similar to the list box or combo box, but it takes up very little space.
In This Section
- Introduction to the Windows Forms DomainUpDown Control
- Introduces the general concepts of the DomainUpDown control, which allows users to browse through and select from a list of text strings.
- Adding Items to Windows Forms DomainUpDown Controls Programmatically
- Describes how to specify the text strings the DomainUpDown control should display.
- Removing Items from Windows Forms DomainUpDown Controls Programmatically
- Describes how to delete items from the DomainUpDown control in code.
- Controls You Can Use On Windows Forms
- Provides a complete list of Windows Forms controls, with links to information on their use.
- DomainUpDown Class
- Provides reference information on the DomainUpDown class and its members.
- NumericUpDown Control (Windows Forms)
- Introduces a control similar to DomainUpDown, except that it displays numeric instead of string values.