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 ...

Get Windows® Phone 8 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.