Reputation: 157
I don't know how to get the auto complete list of contacts when the user types anything on the textbox. I am not getting any idea for this. I have researched a lot of place but could not achieve anything. i have also added an image for example. Can anyone help me with this? Thanks in advance for your help!
Upvotes: 1
Views: 332
Reputation: 8126
Download AutoCompleteBox
from Silverlight Toolkit
. Load all contacts into AutoCompleteBox.ItemsSource
. Set ValueMemberPath="propertyName"
to property that contains mobile phone (i.e. that you search for) or make your own filter criteria (AutoCompleteBox.ItemFilter += ...
)
or
Create ListBox
below TextBox
and subscribe to TextBox.TextChanged
event. Make ListBox
items handling manually with filtering by TextBox.Text
Upvotes: 2