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 模板列,有没有解决这个问题的方法?
您需要SortMemberPath="PropertyName"在模板化的 DataGrid 列中设置该属性。
SortMemberPath="PropertyName"