看板 C_Sharp 關於我們 聯絡資訊
我想做一個在 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 請大家指點 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 111.252.31.36 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1579764815.A.CCA.html
k659292: 雖然沒用過這個,但ms有自己寫一個這種套件,應該更簡單 01/24 11:10
k659292: 使用,搜尋ajaxtookit 01/24 11:10
archknight: 這個更簡單嗎,我試試看,謝謝您! 01/25 15:50
archknight: 請問有連結嗎,我找到好幾個不知哪個才是? 01/25 15:55
YahooTaiwan: 先把 MVVM 學好 01/26 03:09
archknight: 好的,感謝您! 01/26 11:33
nwish: 可以用select2做 02/05 19:46