Top "Combobox" questions

Combobox allows to select one option out of several (similar to a dropdownlist), or to type a custom option.

WPF Data binding: How to data bind an enum to combo box using XAML?

I have a class: public class AccountDetail { public DetailScope Scope { get { return scope; } set { scope = value; } } public string Value { get { …

c# wpf xaml data-binding combobox
Set SelectedItem on a combobox bound to datasource

List<Customer> _customers = getCustomers().ToList(); BindingSource bsCustomers = new BindingSource(); bsCustomers.DataSource = _customers; comboBox.DataSource = bsCustomers.DataSource; comboBox.DisplayMember = "…

c# combobox datasource selecteditem
Programmatically set ComboBox SelectedItem in WPF (3.5sp1)

I have been confused while setting SelectedItem programmaticaly in wpf applications with Net Framework 3.5 sp1 installed. I have carefully read …

wpf combobox selecteditem
How to activate combobox on first click (Datagridview)

In winforms, you need to click the combobox twice to properly activate it - the first time to focus it, …

c# .net winforms datagridview combobox
Set combobox's value member programmatically

I've been looking around for this answer. Checked here: How to set a combobox value but I'm not sure if …

vb.net combobox visual-studio-2012 selectedvalue
How to prevent/cancel a combobox's value change in c#?

I have a combobox at the top of a form that loads editable data into fields below. If the user …

c# winforms combobox
Winforms Combobox - do not allow user to edit items

This is probably something simple. The winforms combobox items by default can be edited by the user, how to disable …

c# winforms combobox
C# Update combobox bound to generic list

I have a combobox on my form that is bound to a generic list of string like this: private List&…

c# combobox datasource generic-list
Why can't I select a null value in a ComboBox?

In WPF, it seems to be impossible to select (with the mouse) a "null" value from a ComboBox. Edit To …

wpf data-binding combobox