Howdy,
I want to make a dynamically filled Menu in Windows Phone 7. I thought that a listbox would be the perfect fit for that. However, I cannot get the “selectedValue” once the user interacts with the listbox – hence I cannot give any information to the navigationhandler.
How can I create a ListBox whose Listbox Items are created dynamically and navigate the User on click to the same page but with different parameters e.g.
\informations.xam?id=2
Not that long ago I wrote an WP7 application and I used something like this:
Basically, I set my listbox’s itemssource to an observable collection of particular view models, then you just access the selected view model object using the SelectedItem property of the listbox.