سؤال

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