开发者

How to create list picker and how to add items in it in window phone 7?

How to create list picker control and how to add items in listpicker in window 开发者_如何转开发phone 7?


See http://www.windowsphonegeek.com/articles/listpicker-for-wp7-in-depth
and http://blogs.msdn.com/b/delay/archive/2010/11/03/listpicker-i-hardly-even-know-er-a-detailed-overview-of-the-windows-phone-toolkit-s-listpicker-control.aspx


Add a reference to the Silverlight Toolkit, both in your project's list of references, and in your XAML (as a XML namespace, example named "toolkit")

Then add the listpicker where you want it with . Then either use databinding, or set the ItemsSource directly in the C# code for your page.

But as you been told many times before the Silverlight Toolkit comes with examples of how to do this. You should consider reading those examples. You asked the same question in what, 3-4 different posts now? When are you going to learn that you'll not get a full solution on a silverplate on Stack Overflow. You're going to get advice, links we want you to read, and examples we want you to study. When you're ignoring all of this, and just repeating your questions, eventually nobody is going to bother answering you anymore.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜