自动完成字段和多项选择 [英] AutoComplete Field and multiple selection
问题描述
我正在 Xamarin IOS 中进行开发,我需要一个控件,它可以在我输入时支持自动完成并且可以接收多个数据.我曾经使用 Telerik 进行 Web Dev 工作,我希望我正在寻找的控件与 Telerik 中的 RadAutoCompleteBox 做同样的事情.有没有可以做到这一点的控件?或者我必须在 Xamarin IOS 中自己实现这个吗?如果是这样,我可以提供一个链接或教程来帮助我吗?
I am developping in Xamarin IOS, I need a control that can support autocomplete as I type in and which can receive more than one data. I used to work with Telerik for Web Dev, and I want the control I am looking for to do the same thing as a RadAutoCompleteBox in Telerik would Do. Is there any control that can do that? Or Do I have to implement this myself in Xamarin IOS. if so, can I have a link or a tutorial that could help me with that?
推荐答案
你可以先google一下,你会发现那里已经有几个重复的问题了.
You could search the google first and you will find there are several duplicate questions already there.
以下是一些您可以参考的链接:
Here are some links you can refer:
教程在这里:sfautocomplete/overview
在这个主题中,有几个建议.
In this thread, there are several suggestions.
这里也是 AutoCompleteView
的 CustomControl Xamarin.CustomControls.AutoCompleteView
Here is also a CustomControl of AutoCompleteView
Xamarin.CustomControls.AutoCompleteView
如果您想在 Xamarin IOS
中自己实现这一点.您可以使用 Searchbar 并获得类似AutoCompleteView
.在 searchBar
中输入文本并将搜索结果放在 searchBar
下的 tableview
中.
If you want to implement this yourself in Xamarin IOS
. You can use Searchbar and get something like AutoCompleteView
. Enter the text in the searchBar
and put the search results in a tableview
under the searchBar
.
这篇关于自动完成字段和多项选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!