开发者

ListPicker - how to make current selection show when full page view opens

I'm using the ListPicker from the latest Silverlight Toolkit on Mango

I've got a long list (100 items) of simple text items to choose between - using single item selection mode.

When I click on the ListPicker it opens up in full screen very nicely, but it doesn't scroll to the current selection.

This is a pain for the user - who typically wants to move from "item75" to "item76"

I've looked through th开发者_开发知识库e available properties, events and source code, but I can't see any obvious way to get the list to scroll the current selected item into list when the full screen mode opens.

Anyone got any ideas?


I found this Which may help, i hope it does! in Depth ListPicker

See on MSDN what some of the events that can be triggered when selecting a Listpicker item and mess around with them, you may find a Very good Solution! :)


There didn't seem to be a way to do this with the current release - but the code is open source.

The current release also has a disadvantage of using StackPanel instead of VirtualizingStackPanel - so it is very slow at displaying long lists.

Instead of using this release, I ended up going with a different list selector http://priyarules.posterous.com/categorized-list-selector-for-windows-phone-7

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜