This project has moved and is read-only. For the latest updates, please go here.

Creating bindings dynamically

Jul 29, 2010 at 3:44 PM
Edited Jul 29, 2010 at 3:46 PM
Hi I have a situation where I wish to create some combo-boxes dynamically, and I would like to bind the 'SelectedItemChanged' event to an ICommand on the view model. Normally I would do this in the XAML but as I am creating these dynamically (in the code behind of the view - don't ask...) I also need to create the bindings dynamically. Can anybody help?