开发者

Windows Phone 7 collapsible list

开发者 https://www.devze.com 2023-03-27 18:47 出处:网络
I am new to WP7, so please be gentle! What is the best practice for displaying long lists (~50 items) in WP7 without taking up loads of vertical space?In android, I would just use a spinner, but I do

I am new to WP7, so please be gentle!

What is the best practice for displaying long lists (~50 items) in WP7 without taking up loads of vertical space? In android, I would just use a spinner, but I do not see anything similar in WP7.

Do I just create a clickable label that displays a new page with a populated <ListBox /> control in it?

I want to be able to plot the contents of a specific file onto a <Map /> control, with the file list taking up开发者_如何学C at little room as possible until needed.

Thanks


One solution is to use the ListBox control:

http://3water.wordpress.com/2010/07/25/listbox-on-wp7/

EDIT:

Oh I see, you're trying to create a picker control. In this case take a look at the Silverlight toolkit: silverlight.codeplex.com and specifically the ListPicker control within that toolkit.

0

精彩评论

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