views:

41

answers:

2

I have found plenty of tutorials demonstrating InputScope values of email, phone number, name, etc. But nothing that addresses my specific problem.

I want the user to be able to select a value from an enum or a list of strings. I'm trying to imitate the behavior found in the emulator under Settings > region & language, for either the short date or long date values. Basically, when the user clicks in the textbox a list is presented from which the user can select a value, which then populates the textbox. In one case, the list is presented full screen, in the other case the list is presented in place of the textbox.

Any help is greatly appreciated.

A: 

Not all the InputScopes are supported, yet! It appears that PhraseList is one such scope.

This should be fixed (and hopefully better documented) in the RTM.

Matt Lacey
A: 

Hi Witters,

There's a couple of options for this.

The closest match to your requirements is Alex's picker box. Details here for your reference.

Implementing Picker Box functionality on WP7. - Alex Yakhnin's Blog

Also note with the release of the tools is a context menu implemented in the Windows Phone Toolkit. Details here for your reference.

Pining for Windows Phone 7 controls? We got ya covered! [Announcing the first release of the Silverlight for Windows Phone Toolkit!] - Delay's Blog

Mick N