Question

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!

Was it helpful?

Solution 2

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.

OTHER TIPS

That's how an autocomplete box works everywhere else. It will be confusing for users if it doesn't work like this.

Why are you using an AutoCompleteBox if you don't want this?

What would you want to happen if the user completely enters an item?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top