开发者

Windows Phone ListPicker in fullscreen mode does not show item value

开发者 https://www.devze.com 2023-04-06 07:07 出处:网络
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'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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号