Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

I want my users to pick an item from the list picker and after clicking the item, it should be highlighted and play a sound, but it should NOT close the list. Closing the list should only happen when pressing the Back-button.
Can someone help me on how to stop the listPicker from closing?

Thanks,
_MadMatt
Posted
Comments
Mark Salsbery 10-May-11 19:54pm    
By "close the list" you mean when it goes back to normal mode where you see only the selected item, right?

If so, I don't see any way to prevent the ListPicker from closing the list when a selection is made - that's the way the control currently works.

I would think setting the ListPickerMode to Expanded would do the trick but it doesn't work...
_Madmatt 11-May-11 10:25am    
Okay, I solved by using a ListBox instead. Thanks for the reply!
Mark Salsbery 11-May-11 10:42am    
Yeah my first response was going to be "why not just use a ListBox then?" but then I thought well maybe you wanted the ListPicker behavior. :)

Regardless, I researched and played more with it more yesterday and everything I could find indicates you should be able to set ListPickerMode to Expanded. I'll post it as an issue on the Silverlight Toolkit forum and see what they say...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900