Top "Selecteditem" questions

selecteditem is a property used to identify the currently selected item in a collection

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
AngularJS - setting selected value of dropdown does not work

I made a fiddle replicating my problem here: http://jsfiddle.net/U3pVM/2840/ As the title suggests, I can't set …

angularjs select set selecteditem ng-options
How to get the latest selected value from a checkbox list?

I am currently facing a problem. How to get the latest selected value from a asp.net checkbox list? From …

asp.net selecteditem checkboxlist
check if a values has been selected from dropdown in c#

I have 3 dropdown boxes (combo box) in asp.net environment. They are all optional, so if a user has selected …

c# selecteditem dropdownbox
Determine if an item is selected in a listview box

Using VB.net 2010 i am trying to figure out if an item was selected or not. Reason being is that …

vb.net visual-studio-2010 listview selecteditem
WPF Xaml Custom Styling Selected Item Style in a ListBox

I have a ListBox that scrolls images horizontally. I have the following XAML I used blend to create it. It …

wpf listbox styles selecteditem
How to: Remove an item from a List<string>

How to: Remove an item from a List I have got the following code snippet... companies.Remove(listView_Test.SelectedItem.…

c# string list listview selecteditem
WPF Binding SelectedItem in DataGrid

So, I have a TabControl binded to a list of projects (each tab is a one project) - that works …

c# wpf xaml binding selecteditem
Selecting a Textbox Item in a Listbox does not change the selected item of the listbox

I Have a wpf Listbox that display's a list of textboxes. When I click on the Textbox the Listbox selection …

c# wpf xaml listbox selecteditem