문제

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