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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.