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!

有帮助吗?

解决方案 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.

其他提示

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?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top