标签:tar sele cli data lis rgs eve etc ext
private void Button_Click(object sender, RoutedEventArgs e)
{
var vLst = this.dgList.SelectedItems;
for (int i = 0; i < vLst.Count; i++)
{
1.//获取选中的数据
string str = (dgList.Columns[1].GetCellContent(vLst[i]) as TextBlock).Text;
2. //开始处理操作数据
}
}
wpf datagrid根据多选选中的获取单元格内容,进行操作数据
标签:tar sele cli data lis rgs eve etc ext
原文地址:https://www.cnblogs.com/xiale/p/11416510.html