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 中数据网格的代码列中。我怎样才能做到这一点?
OnClick 使用 Grid.SelectedCell