The properties of System.Windows.Forms.ComboBox are listed below. For a list of all members, see the ComboBox Members list.
See Also: Inherited members from System.Windows.Forms.ListControl
AutoCompleteCustomSource | AutoCompleteStringCollection.
![]() Gets or sets a custom System.Collections.Specialized.StringCollection to use when the ComboBox.AutoCompleteSource property is set to CustomSource. | |
AutoCompleteMode | AutoCompleteMode.
![]() Gets or sets an option that controls how automatic completion works for the System.Windows.Forms.ComboBox. | |
AutoCompleteSource | AutoCompleteSource.
![]() Gets or sets a value specifying the source of complete strings used for automatic completion. | |
override | BackColor | System.Drawing.Color.
![]() Gets or sets the background color for the control. |
override | BackgroundImage | System.Drawing.Image.
![]() This property is not relevant to this class. |
override | BackgroundImageLayout | ImageLayout.
![]() Gets or sets the background image layout as defined in the System.Windows.Forms.ImageLayout enumeration. |
DataSource | object.
![]() Gets or sets the data source for this System.Windows.Forms.ComboBox. | |
DrawMode | DrawMode.
![]() Gets or sets a value indicating whether your code or the operating system will handle drawing of elements in the list. | |
DropDownHeight | int.
![]() Gets or sets the height in pixels of the drop-down portion of the System.Windows.Forms.ComboBox. | |
DropDownStyle | ComboBoxStyle.
![]() Gets or sets a value specifying the style of the combo box. | |
DropDownWidth | int.
![]() Gets or sets the width of the of the drop-down portion of a combo box. | |
DroppedDown | bool.
![]() Gets or sets a value indicating whether the combo box is displaying its drop-down portion. | |
FlatStyle | FlatStyle.
![]() Gets or sets the appearance of the System.Windows.Forms.ComboBox. | |
[read-only] override | Focused | bool.
![]() Gets a value indicating whether the System.Windows.Forms.ComboBox has focus. |
override | ForeColor | System.Drawing.Color.
![]() Gets or sets the foreground color of the control. |
IntegralHeight | bool.
![]() Gets or sets a value indicating whether the control should resize to avoid showing partial items. | |
ItemHeight | int.
![]() Gets or sets the height of an item in the combo box. | |
[read-only] | Items | ComboBox.ObjectCollection.
![]() Gets an object representing the collection of the items contained in this System.Windows.Forms.ComboBox. |
MaxDropDownItems | int.
![]() Gets or sets the maximum number of items to be shown in the drop-down portion of the System.Windows.Forms.ComboBox. | |
override | MaximumSize | System.Drawing.Size.
![]() Gets or sets the size that is the upper limit that Control.GetPreferredSize(System.Drawing.Size) can specify. |
MaxLength | int.
![]() Gets or sets the number of characters a user can type into the System.Windows.Forms.ComboBox. | |
override | MinimumSize | System.Drawing.Size.
![]() Gets or sets the size that is the lower limit that Control.GetPreferredSize(System.Drawing.Size) can specify. |
Padding | Padding.
![]() This property is not relevant for this class. | |
[read-only] | PreferredHeight | int.
![]() Gets the preferred height of the System.Windows.Forms.ComboBox. |
override | SelectedIndex | int.
![]() Gets or sets the index specifying the currently selected item. |
SelectedItem | object.
![]() Gets or sets currently selected item in the System.Windows.Forms.ComboBox. | |
SelectedText | string.
![]() Gets or sets the text that is selected in the editable portion of a System.Windows.Forms.ComboBox. | |
SelectionLength | int.
![]() Gets or sets the number of characters selected in the editable portion of the combo box. | |
SelectionStart | int.
![]() Gets or sets the starting index of text selected in the combo box. | |
Sorted | bool.
![]() Gets or sets a value indicating whether the items in the combo box are sorted. | |
override | Text | string.
![]() Gets or sets the text associated with this control. |
[read-only] override | CreateParams | CreateParams.
![]() Gets the required creation parameters when the control handle is created. |
[read-only] override | DefaultSize | System.Drawing.Size.
![]() Gets the default size of the control. |