In the code below, when user selects Customer in the combobox, the customer\'s name is displayed in a textbox. I fill the Combox box with an O
Have a look at this application on www.codeproject.com. Here I use the CollectionView to detect the currently selected item
Update
Using CollectionView to detect current selected item
ListCollectionView view = (ListCollectionView)CollectionViewSource.GetDefaultView(Customers);
view.CurrentChanged += delegate
{
SelectedCustomer= (Customer)view.CurrentItem;
};
Just remember to also set IsSynchronizedWithCurrentItem="True"