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.
如何获取数据网格中列出的项目并将其导出到对象列表中?
如果你特别想要类型object,这应该可以解决问题
object
var list = myDataGrid.Items.OfType<object>();