[DevExpress] GridControl 实现多选行

RunDesigner -> Views -> Options 设置如下图所示:

效果如下:

可以通过以下代码调用:

1 int[] rows = this.gridViewSettlement.GetSelectedRows();
2 foreach(int row in rows) {
3   string path = this.gridViewSettlement.GetRowCellValue(row,gridViewSettlement.Columns[0]).ToString();                
4 }
原文地址:https://www.cnblogs.com/panpan-v1/p/5038183.html