The members of System.Windows.Forms.ComboBox are listed below.
See Also: Inherited members from System.Windows.Forms.ListControl
ComboBox() |
![]() Initializes a new instance of the System.Windows.Forms.ComboBox class. |
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. |
BeginUpdate()
| ||
EndUpdate()
| ||
FindString(string)
| ||
FindString(string, int)
| ||
FindStringExact(string)
| ||
FindStringExact(string, int)
| ||
GetItemHeight(int)
| ||
override | ResetText()
| |
Select(int, int)
| ||
SelectAll()
| ||
override | ToString()
|
AddItemsCore(object[])
| ||
override | CreateAccessibilityInstance()
| |
override | CreateHandle()
| |
override | Dispose(bool)
| |
override | IsInputKey(Keys)
| |
override | OnBackColorChanged(EventArgs)
| |
override | OnDataSourceChanged(EventArgs)
| |
override | OnDisplayMemberChanged(EventArgs)
| |
OnDrawItem(DrawItemEventArgs)
| ||
OnDropDown(EventArgs)
| ||
OnDropDownClosed(EventArgs)
| ||
OnDropDownStyleChanged(EventArgs)
| ||
override | OnFontChanged(EventArgs)
| |
override | OnForeColorChanged(EventArgs)
| |
override | OnGotFocus(EventArgs)
| |
override | OnHandleCreated(EventArgs)
| |
override | OnHandleDestroyed(EventArgs)
| |
override | OnKeyDown(KeyEventArgs)
| |
override | OnKeyPress(KeyPressEventArgs)
| |
override | OnLostFocus(EventArgs)
| |
OnMeasureItem(MeasureItemEventArgs)
| ||
override | OnMouseEnter(EventArgs)
| |
override | OnMouseLeave(EventArgs)
| |
override | OnParentBackColorChanged(EventArgs)
| |
override | OnResize(EventArgs)
| |
override | OnSelectedIndexChanged(EventArgs)
| |
OnSelectedItemChanged(EventArgs)
| ||
override | OnSelectedValueChanged(EventArgs)
| |
OnSelectionChangeCommitted(EventArgs)
| ||
override | OnTextChanged(EventArgs)
| |
OnTextUpdate(EventArgs)
| ||
override | OnValidating(System.ComponentModel.CancelEventArgs)
| |
override | ProcessKeyEventArgs(ref Message)Documentation for this section has not yet been entered. | |
override | RefreshItem(int)
| |
override | RefreshItems()
| |
override | ScaleControl(System.Drawing.SizeF, BoundsSpecified)
| |
override | SetBoundsCore(int, int, int, int, BoundsSpecified)
| |
override | SetItemCore(int, object)
| |
override | SetItemsCore(IList)
| |
override | WndProc(ref Message)Documentation for this section has not yet been entered. |
BackgroundImageChanged |
![]() Occurs when the value of the ComboBox.BackgroundImage property changes. | |
BackgroundImageLayoutChanged |
![]() Occurs when the ComboBox.BackgroundImageLayout property changes. | |
DoubleClick |
![]() This event is not relevant for this class. | |
DrawItem |
![]() Occurs when a visual aspect of an owner-drawn System.Windows.Forms.ComboBox changes. | |
DropDown |
![]() Occurs when the drop-down portion of a System.Windows.Forms.ComboBox is shown. | |
DropDownClosed |
![]() Occurs when the drop-down portion of the System.Windows.Forms.ComboBox is no longer visible. | |
DropDownStyleChanged |
![]() Occurs when the ComboBox.DropDownStyle property has changed. | |
MeasureItem |
![]() Occurs each time an owner-drawn System.Windows.Forms.ComboBox item needs to be drawn and when the sizes of the list items are determined. | |
PaddingChanged |
![]() This event is not relevant to this class. | |
Paint |
![]() Occurs when the System.Windows.Forms.ComboBox control is redrawn. | |
SelectedIndexChanged |
![]() Occurs when the ComboBox.SelectedIndex property has changed. | |
SelectionChangeCommitted |
![]() Occurs when the selected item has changed and that change is displayed in the System.Windows.Forms.ComboBox. | |
TextUpdate |
![]() Occurs when the control has formatted the text, but before the text is displayed. |