Search code examples
windows-phone-7autocompletebox

AutoCompleteBox for WP7 and AutoSelect!


i would like to know how can disable in AutoCompleteBox for WP7 the autoselect when a word is equal with one of the itemsource.

Example:

ItemSource:
Test
Test 1
Test 2
Test 3

Now if i write "Test" autocompletebox automatically select the first item.. how can i disable this?

"AutoCompleteBox.IsTextCompletionEnabled = false" don't make what i want.

Thanks!


Solution

  • Solved with set a variable "ListboxChecked = TRUE" on the event MouseLeftButtonDown of the listbox of autocompletebox and check on SelectionChanged if the variable is TRUE.