Windows Phone ListPicker in fullscreen mode does not show item value
I've j开发者_开发问答ust started with WP 7.1. I tried the C# LocalDatabaseSample on msdn (http://msdn.microsoft.com/en-us/library/hh286405%28v=vs.92%29.aspx). I tried to modify the Listpicker (in the AddNewItem sreen) to let the user choose an item from a list. It works well when there are 3 items in the list. However, when there are about 30 items, the Listpicker goes to fullscreen mode, and it does not show the item value, but something like "LocalDatabaseSample.Model.ToDoCategory".
How do I fix this? Thanks.
You should look at retemplating the FullModeItemTemplate
for the listpicker and/or overriding ToString
on your model.
精彩评论