[英]Change cell value of selected item in datagrid WPF
The datagrid is bound to a collectionview and the columns are not being auto generated. datagrid绑定到collectionview,并且不会自动生成列。 When the user selects a row in the datagrid, a code is generated. 当用户在数据网格中选择一行时,将生成一个代码。 I want to insert this code in the Code column of the datagrid in WPF. 我想将此代码插入WPF中datagrid的“代码”列中。 How can I achieve this? 我该如何实现?
使用Grid.SelectedCell的OnClick
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.