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

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.