Windows Phone应用 [英] Windows Phone App

查看:63
本文介绍了Windows Phone应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个下拉列表,我想知道何时选择了下拉列表中的元素之一.

例如:

我有一个UI控件,当用户点击该控件时,它会显示"FRUIT".带有一个下拉菜单,其中包括"APPLE","APPLE" "橙色"
.而且我想知道哪些用户选择了.

执行此操作的最佳方法是什么?

解决方案

使用ListPicker控件,

> http://windowsphonegeek.com/articles/listpicker-for-wp7-in-depth

它最多可以在页面中在那里显示5个项目.如果有5个以上的项目,则可以通过导航到另一页来选择这些项目.


I want to make a drop down list, and i want to know when one of the elements in the drop down were selected.

FOR EXAMPLE:

i have a UI Control, that says "FRUIT", when the users taps that. A drop down menu comes , with selections like "APPLE" " ORANGE"
. and i want to know which the users selects.

What is the best way to do this?

解决方案

Use ListPicker control,

http://windowsphonegeek.com/articles/listpicker-for-wp7-in-depth

It allows up to 5 items to be displayed right there within the page. If there are more than 5 items you'll be able to select the items by navigating to another page.


这篇关于Windows Phone应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆