如何?可编辑的DataGridComboBoxColumn [英] How? Editable DataGridComboBoxColumn

查看:79
本文介绍了如何?可编辑的DataGridComboBoxColumn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我是wpf的新手,我有点绝望..我希望有人能帮助我..

我创建了一个绑定到数据表的数据网格. Datagrid具有一个DataGridComboBoxColumn.组合框正在工作,所有值均已正确显示,并且已存储选择.到目前为止一切都很好.
我想使此框可编辑,以便您可以键入一个值..这适用于普通组合框,但DG组合框没有可编辑的属性.我整天都在寻找解决方案,但是还没有找到任何东西..

有什么办法吗?

(我正在使用.NET 4.0 Datagrid)

Hey Guys,
I''m a newbie with wpf and I''m kinda desperate .. I hope someone can help me..

I''ve created a datagrid, bound to datatable. The Datagrid has a DataGridComboBoxColumn. The Combobox is working, all values a correctly displayed and the selection ist stored. Everything fine, so far..
I want to make this box editable, so you can type a value.. This works for normal comboboxes, but there''s no editable Property for DG comboboxes. I''ve been searching all day for a solution, but it havn''t found anything yet..

Is there any way to do this?

(I''m using the .NET 4.0 Datagrid)

推荐答案

hi
我们可以使用WPF 2010年2月工具包中的自动完成文本框.

http://wpf.codeplex.com/releases/view/40535
上面的链接,我们可以在其中下载并使用工具包


问候
siraz
hi
we can use AutoComplete TextBox which is found in WPF Feb-2010 Toolkit.

http://wpf.codeplex.com/releases/view/40535
above link where we can download the Toolkit and use it


Regards
siraz


这篇关于如何?可编辑的DataGridComboBoxColumn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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