O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Input Scope Sample Overview

To provide you with an opportunity to explore the various SIP layouts, I have created a sample view that allows you to switch the InputScope for a TextBox at runtime. The sample is located in the ControlExampleView page and the ControlExampleViewModel class in the downloadable sample code.

The viewmodel exposes a list of InputScopeNameValues, shown in the following excerpt, which is consumed in the view via a data binding to a Windows Phone Toolkit ListPicker control. For more information on the Windows Phone Toolkit and the controls contained therein, see Chapter 9, “Enriching the User Experience with the Windows Phone Toolkit Controls.”

readonly IEnumerable<InputScopeNameValue> inputScopeNameValues ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required