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

Suggesting Text with the AutoCompleteBox

The AutoCompleteBox displays suggestions in a drop-down list as the user enters text into a text box. The AutoCompleteBox control is composed of a TextBox and a ListBox that is made visible when the TextBox has focus.

The TextBox on which AutoCompleteBox relies is part of its default template. The AutoCompleteBox shares many of the TextBox control’s characteristics, including a Text property, which allows you to set the text displayed.

Moreover, the AutoCompleteBox contains an InputScope property that allows you to set the keyboard shown on the software input panel (SIP). For more information on InputScope, see Chapter 6, “Mastering Text Elements and Fonts.”

Tip

The TextBox control has built-in suggestion ...

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