Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

CHAPTER 6: Silverlight Toolkit > AutoCompleteBox

AutoCompleteBox

The AutoCompleteBox is another mature-band toolkit control that is now available through the Silverlight SDK. Its functionality is nothing new to users, because autocomplete text boxes have been around for many years. As you start typing in a text box, items that match what you are typing are displayed below. You can pick an item from the list instead of having to finish typing it yourself. Because the AutoCompleteBox is contained in the SDK, a reference to the SDK namespace is required to access the control:

xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"

To define an AutoCompleteBox in XAML is no different from defining other controls, such as Buttons:

<sdk:AutoCompleteBox Name="FavoriteColor" Width="200" Height="25" />

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint