We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get the selected values in the MultiSelectionComboBox?

You can get the selected values in the MultiSelectionComboBox by using the SelectedItems or the VisualItems property.

The following code example demonstrates the same.





Figure 1: Selected item displayed in ListBox


Sample Links:

C#: MultiSelectionComboBox_SelectedValue_C#

VB: MultiSelectionComboBox_SelectedValue_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5399 09/01/2015 09/01/2015 WinForms MultiSelectionComboBox
Did you find this information helpful?
Thomas Pagram May 09, 2016
This seems to be how to retrieve selected display members rather than selected values?
Keerthana Jegannathan [Syncfusion] May 11, 2016
Hi Thomas, We have prepared sample to based on reported requirement and please make use of the sample in below location Delimiter Mode: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Delimiter_Mode663476532 VisualItem: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Visual_Item1804265812 Regards, Keerthana
Sandesh Daddi Sep 15, 2016
Hi Geeks, 

I have recently started using MultiSelectionComboBox, 

1. Currently I have set DisplayMode = DelimiterMode
2. To Select item, I am typing 3-4 charactes in textbox and then using Keyboard up/down arrow to go to specific item
3. Then I am pressing "Space Bar" to select the item. 
4. Same for 3-4 items 
5. Then I am pressing "Esc" to move focus and then "Tab" to select other control. 

After this my control only returns last selected item and not all the values. 

I am doing any thing wrong ? 

Also I would like to know, Can I use DiasplayMode = VisualItem and allow user to enter in textbox to search items?

Below is my current settings

  this.employeeFilterCombo.AutoSizeMode = Syncfusion.Windows.Forms.Tools.AutoSizeModes.None;
            this.employeeFilterCombo.BeforeTouchSize = new System.Drawing.Size(541, 26);
            this.employeeFilterCombo.ButtonStyle = Syncfusion.Windows.Forms.ButtonAppearance.Metro;
            this.employeeFilterCombo.DisplayMode = Syncfusion.Windows.Forms.Tools.DisplayMode.DelimiterMode;
            this.employeeFilterCombo.EmptyResultText = "No Employees Found";
            this.employeeFilterCombo.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.employeeFilterCombo.Location = new System.Drawing.Point(421, 27);
            this.employeeFilterCombo.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(22)))), ((int)(((byte)(165)))), ((int)(((byte)(220)))));
            this.employeeFilterCombo.Name = "employeeFilterCombo";
            this.employeeFilterCombo.ShowCheckBox = true;
            this.employeeFilterCombo.Size = new System.Drawing.Size(541, 26);
            this.employeeFilterCombo.TabIndex = 9;
            this.employeeFilterCombo.UseVisualStyle = true;
            this.employeeFilterCombo.VisualItemBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));

I have also tried example link from below but facing same issue.


Keyboard is killing me. 
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon