Overview

Combo box is a text box component that allows user to type a value or choose an option from a list of predefined options. It has several out of the box features such as data binding, filtering, UI customization, accessibility, and more.

Key features are:

  • Data binding: Support to bind IEnumerable type data sources.
  • Auto complete: Supports different modes of auto complete actions.
  • Multi selection: Support to select multiple values from drop-down list.
  • Select all items: Supports choosing all items in a multi select combo box.
  • Watermark: Helps to prompt user by providing additional hints about the data that should be entered into the text box.
  • Tooltip: Support to show the tooltip when selecting more values in the multi select combo box.
  • Styling: Supports customizing styles and appearance of the SfComboBox control.
  • Pop-up resizing: Supports resizing the drop-down container using a resize gripper placed at the bottom of pop-up control.
  • Accessibility: Supports various accessibility features to make applications available to wide variety of users.
  • Theme: Supports several built-in Office 2016 themes.

Choose between different combobox controls

Syncfusion WinForms suite comes up with the following different combobox:

SfComboBox

The SfComboBox textbox component allows the users to type a value or choose an option from a list of predefined options. It has several out of box features such as data binding filtering, UI customization, accessibility, and more.

ComboBoxAdv

The ComboBoxAdv is an advanced combobox control that provides similar object model as the framework of the combobox control with additional features. It allows the user to select multiple items and display the default text when none of the item is selected.

MultiSelectionComboBox

MultiSelectionComboBox is a type of combobox control with multiple items selection and auto suggestion capabilities. When you type a character into the text area, the control performs search operation and suggest a list of possible matching results to select.

ComboBoxAutoComplete

The comboBoxAutoComplete control combines the ComboBox control with AutoComplete control for autocompletion to that instance of combobox. It can be used on a form for autocompletion of one or several edit controls (textbox and combobox).

MultColumnComboBox

The MultiColumnComboBox advanced combobox control has the capability to show multiple columns in the drop-down list. You can also display headers for the multiple columns.

SfComboBox vs MultiSelectionComboBox vs ComboBoxAdv

The SfComboBox, MultiSelectionComboBox, and ComboBoxAdv controls are used for the same purpose. But, the SfComboBox control offers rich set of features over ComboBoxAdv and MultiSelectionComboBox. For data binding, autocompletion, multiple items selection, UI customization, watermark text, loading custom UI control in drop-down, accessibility, etc., use SfComboBox. Comparatively, SfComboBox has all required features from the ComboBoxAdv, MultiSelectionComboBox, and ComboBoxAutoComplete controls.

The list of some specific API differences between SfComboBox, MultiSelectionComboBox, and ComboBoxAdv are as follows.

SfComboBox

MultiSelectionComboBox

ComboBoxAdv

Description

DisplayMember DisplayMember DisplayMember Displays the underlying datasource.
ValueMember ValueMember ValueMember Used as actual value of the items.
DataSource DataSource DataSource Displays the bounded data.
DropDownStyle - DropDownStyle Sets the value that specifies editing style of combobox.
DelimiterChar DelimiterChar - Separates multiple selected items in the selected combobox.
AutoCompleteMode - AutoComplete Sets the auto complete mode for SfComboBox and functionality for ComboBoxAdv.
AutoCompleteSuggestMode AutoSuggestMode - Sets the mode for suggesting the drop-down list of AutoComplete Suggest and SuggestAppend modes.
ThemeName Style Style Applies visual styles.

The list of features in SfComboBox over ComboBoxAdv and MultiSelectionComboBox are as follows.

Feature

Description

AutoCompletion Displays the suggestions in drop-down.
1.

Suggest:

Displays suggestion in the drop-down list.
2.

Append:

Appends the first suggestion to text.
3.

SuggestAppend:

Performs both ways.
It also provides support to

autocompletion

based on case sensitivity.
Multiple items selection Selects

multiple items

using the checkbox selection in drop-down.
Loading custom user control in dropdown Shows the header and footer items in drop-down by enabling the

ShowHeader

and

ShowFooter

properties. To learn more about loading custom user control, refer to

here

.
Watermark Sets the

watermark

text to display hint in the editor portion when combobox has empty string.
Sorting

Sort

the data either in ascending or descending order using the

SfComboBox.DropDownListView.View.SortDescriptors

property.