Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6581691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:11:08+00:00 2026-05-25T16:11:08+00:00

I am trying to use windows forms databinding to hook up a combobox to

  • 0

I am trying to use windows forms databinding to hook up a combobox to a ViewModel class.

var items = new BindingList<Person>();
comboBox.DataSource = items;
comboBox.DisplayMember = "Name";

All works ok except when I remove items from the list. For example if I remove the currently selected item (selected in the combobox) the selectedIndexChanged and SelectedValueChanged events of the combobox don’t fire.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:11:09+00:00Added an answer on May 25, 2026 at 4:11 pm

    Found an answer. I had to use a BindingSource as middleman

      var bindingsSource = new BindingSource();
      bindingsSource.DataSource = new BindingList<Person>();
      comboBox1.DataSource = bindingsSource;
      comboBox1.DisplayMember = "Name";
    

    This way I do get value changed events and even more than one when I deleted something.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to use LINQ in a .NET 2.0 Windows Forms project I got:
I'm trying to use the GMap.NET.WindowsForms control in my Windows forms application but I
I'm trying to use System.Windows.Forms.HTMLDocument in a console application. First, is this even possible?
I'm trying to use a System.Windows.Forms.DataGrid control in my Compact Framework 3.5 Window Mobile
I'm trying to use the System.Windows.Forms.MonthCalendar control within a VSTO Excel workbook. I want
I'm trying use a BindingList as a DataSource for a ListBox in C# WinForms,
I am trying to use SMO in a Windows Forms application to restore a
I'm trying to ditch Windows Forms, and learn to use WPF professionally from now
We're starting a new project and are trying to decide to use either Windows
I'm trying to use the System.Windows.Forms.WebBrowser to make a request that both sends POST

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.