.net - 如何在数据网格中使用自动完成功能?

标签 .net wpf datagrid autocomplete

我有一个带有 DataGridTextColumn 的 Datagrid。这是通过使用数据绑定(bind)填充的,并且可以由用户编辑。

是否可以将自动完成添加到 DataGridTextColumn ?

最佳答案

可悲的是没有。但是,如果您使用 DataGridTemplateColumn - 您可以使用 WPF Toolki 中的 AutoCompleteBox t 在列的模板中。

关于.net - 如何在数据网格中使用自动完成功能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3766892/

相关文章:

.net - Property-of 又名 infoof——通过 Rosyln?

c# - 对抗性搜索问题

c# - 清除 TreeView

c# - TreeView 和 Entity Framework 绑定(bind)

c# - 当鼠标指向窗口的顶部位置时如何触发事件?

wpf - 是否可以参数化资源中 DataGrid CellTemplate 上的绑定(bind)?

c# - DataGrid 的 DataGridComboBoxColumn 绑定(bind)到 Dictionary

c# - 带字符串键的 GetHashCode()

c# - 编译后dll命名空间被排除

c# - DataGrid header 中的 WPF 数据绑定(bind)