我想做一個在 textbox 上輸入文字就提示的功能
就像就 google 打 y 會出現 yahoo 之類的提示
我在網上找到一個 library
https://github.com/Nimgoble/WPFTextBoxAutoComplete
但是在第三個步驟卡住了
3.Create a textbox and bind the "AutoCompleteItemsSource" to a collection of
IEnumerable<String>
不知道要怎麼進行下一步
我看官方教學
https://docs.microsoft.com/zh-tw/dotnet/api/system.collections.ienumerable?view=netframework-4.8
點擊 textbox 的時候 在命令列有出現 John Jim Sue
但是沒有出現提示 不知道哪裡錯誤
以下是程式碼
https://github.com/BudinMilk/textbox_autocomplete/tree/master/textbox_autocomplete
請大家指點 謝謝