문제

So I am designing an app for Windows phone 8 and I was wondering if there is a way for me to have a text box where the user can search for some value in a data structure, and as the user is typing it will start giving them results, and as they are entering more text it will give less results as there will be less and less matches? I am thinking of using the textchanged event and search through the datas tructure constantly, but that seems like it will be very slow as it will be doing it after every new letter.

도움이 되었습니까?

해결책

You should use the AutoCompleteBox from the Windows Phone Toolkit:

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top