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.
我有一组显示在分组 WPF 中的对象DataGrid。每个组中的所有项目都有两个项目属性相同,我想将它们都放在组标题中。我可以显示用于与Name绑定进行分组的属性,但是如何显示另一个呢?我看不到任何访问分组项目的方法。
DataGrid
Name
使用组项的Items属性。您可能需要一个值转换器。