Skip to content

VB.NET ComboBox with Checkboxes

New Discussion
raja ram
raja ram asked on Dec 27, 2017 9:24 PM

Hi Team,

Thanks in advance for helping

I need a clear example for “Combo box with check box”  in “vb .net visual studio 2017″

While surfing getting only c# code.

if I get with form design will be clear.

What I need “multiselection in combo box”

 

Sign In to post a reply

Replies

  • 0
    raja ram
    raja ram answered on Dec 27, 2017 7:17 AM

    got the answer

    In Visual Basic:

    need to enter this code in form load event.

    Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid ... 'Add an additional unbound column to WinCombo.  'This will be used for the Selection of each Item  Dim c As UltraGridColumn = Me.ultraCombo1.DisplayLayout.Bands(0).Columns.Add() c.Key = "Selected" c.Header.Caption = String.Empty 'This allows end users to select / unselect ALL items  c.Header.CheckBoxVisibility = HeaderCheckBoxVisibility.Always c.DataType = GetType(Boolean) 'Move the checkbox column to the first position.  c.Header.VisiblePosition = 0 Me.ultraCombo1.CheckedListSettings.CheckStateMember = "Selected" Me.ultraCombo1.CheckedListSettings.EditorValueSource = Infragistics.Win.EditorWithComboValueSource.CheckedItems ' Set up the control to use a custom list delimiter  Me.ultraCombo1.CheckedListSettings.ListSeparator = " / " ' Set ItemCheckArea to Item, so that clicking directly on an item also checks the item Me.ultraCombo1.CheckedListSettings.ItemCheckArea = Infragistics.Win.ItemCheckArea.Item Me.ultraCombo1.DisplayMember = "FirstName" Me.ultraCombo1.ValueMember = "EmployeeID"


    My next doubt is editable combobox
    • 0
      Divya Jain
      Divya Jain answered on Dec 27, 2017 9:24 PM

      Hello Raja,

      Thank you for the update.

      Please let me know if you need further assistance on this matter.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
raja ram
Favorites
0
Replies
2
Created On
Dec 27, 2017
Last Post
8 years, 2 months ago

Suggested Discussions

Created by

Created on

Dec 27, 2017 9:24 PM

Last activity on

Feb 23, 2026 10:28 AM