Property | Function |
---|---|
Id | Read-only. By default, automatically generated. Id="ComboBox1" for the first inserted ComboBox, Id="ComboBox2" for the second, and so on. |
Name | Read-only. The value of this property is set to Static control. |
BackgroundColor | Specifies a background color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu. |
ControlType | Specifies ComboBox as the type of object added to the form. To change the ControlType, choose from the list of available types. |
DefaultValue | Specifies the default text that appears in the drop-down box entry field when the host does not send any data. |
DropDownStyle | Specifies the appearance and functionality of the ComboBox. Select from the values Simple, DropDown, and DropDownList. Note that if you change the height by using the mouse or entering values in the Height property, the physical height of the control appears for a Simple style, though the height setting is maintained at runtime for all styles. |
Font | Specifies font attributes that are applied directly to the text appearing in the object. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu. |
ForegroundColor | Specifies a foreground color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. If you change this value, you can restore to the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu. |
ListContents | Opens the List Contents Editor to specify settings for the List Box. Can also be specified for a Combo Box. |
Location | Specifies the point in pixels that represents the upper-left corner of the object relative to the upper-left corner of its container as an X and Y location. |
ScrollBars | Specifies whether the ComboBox should have scroll bars or not. Options are No (default) and Horizontal. |
Size | Specifies the size of the object representing the height and width in pixels. |
TabIndex | Specifies the index that defines the tab order for the object. |
ToolTip | Specifies an optional tooltip to appear when the user at runtime hovers the mouse over a control in Winforms. To view the tooltip in the Presentation Client, the user has to hover over the control and press the F1 key. This tooltip is visible only at runtime. |
ValidateEntry | When set to True, specifies that the value entered by the user at runtime is one of the values in the drop-down list. |