Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我DataGrid在我的 wpf mvvm 应用程序中有。我正在绑定一个数据表作为我的视图模型的数据源。请告诉我一种将DataGrid列标题文本与底层 tada 表列“标题”绑定的方法。(不是默认的列名)。我自动创建Datagrid列 ( AuotGeneratedColumns = true)
DataGrid
Datagrid
AuotGeneratedColumns = true
类似的解决方案在这里...http://stackoverflow.com/questions/6928393/all-datagrid-headers-must-have-unique-names-how-to-work-around-it/6929089#comment-8293037
让我知道这是否会引导您朝某个方向发展?