简体   繁体   English

AutoCompleteSource for Compact Framework 3.5中的文本框?

[英]AutoCompleteSource for textbox in Compact Framework 3.5?

Does anyone know how to do AutoCompleteSource for TextBox UI element in Compact Framework 3.5? 有谁知道如何在Compact Framework 3.5中为TextBox UI元素执行AutoCompleteSource (with C#) To display suggestions, as user types into TextBox, from data in specified dataset? (使用C#)要在用户键入TextBox时从指定数据集中的数据显示建议?

Here is link from Microsoft that describes how to use AutoCompleteSource , but I can't find it with compact framework 3.5. 这是Microsoft的链接,描述了如何使用AutoCompleteSource ,但是在紧凑型框架3.5中找不到它。 Are there any alternative to this? 还有其他选择吗? http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.autocompletemode(v=vs.90).aspx http://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.autocompletemode(v=vs.90).aspx

The data that I want to use for suggestions is already imported into dataset in my code. 我想用于建议的数据已经导入到我的代码中的数据集中。

Those tools are not built into the CF Developer Controls like they are with Windows Forms and Web controls. 这些工具没有像Windows窗体和Web控件那样内置在CF Developer控件中。

You could manually make something, I suppose, by making a ListBox visible below your TextBox. 我想,您可以通过在文本框下方显示一个列表框来手动制作一些东西。

It isn't that it can't be done, you just have to create it yourself if you really want it. 这并不是说它不能完成,如果您真的想要它,您只需要自己创建即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM