自动完成WPF文本框 [英] Auto complete WPF text box

查看:85
本文介绍了自动完成WPF文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

如何在WPF中制作自动完成文本框并且它连接到其中一个数据库字段。

请帮助我

谢谢。



我尝试了什么:



。 。

hi.
how make auto complete text box in WPF And it's connected to one of the database fields.
pls help me
thank you.

What I have tried:

. .

推荐答案

如果搜索,可以使用许多WPF自动完成控件。 这是一个 [ ^ ]似乎符合您的需求。您需要编写自己的代码来从数据库中检索数据并将其放入合适的模型中,但相关的示例很容易遵循和适应。
There are many WPF AutoComplete controls available if you search. Here's a one[^] that seems to fit your needs. You'll need to write your own code to retrieve the data from the database and put it into a suitable model but the associated example is easy enough to follow and adapt.


请参考:



http://www.c-sharpcorner.com/UploadFile/dpatra/autocomplete-textbox-in-wpf/
Please refer this:

http://www.c-sharpcorner.com/UploadFile/dpatra/autocomplete-textbox-in-wpf/


这篇关于自动完成WPF文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆