标签:end tar 滑动 color data void sele obj super
SuperGridControl与DataGirdViewEx不同,在SuperGridControl的CellMouseEnter事件中没有捕获鼠标的属性,需要自行判断鼠标属性
private void GridDrug_CellMouseEnter(object sender, GridCellEventArgs e) { if (e.GridCell.ColumnIndex == colSelect.ColumnIndex && Control.MouseButtons == MouseButtons.Left)//colSelect为选择框所在列 { e.GridCell.GridRow.Checked = !e.GridCell.GridRow.Checked; } }
DotNetBar使用技巧之SuperGridControl鼠标左键滑动选中
标签:end tar 滑动 color data void sele obj super
原文地址:https://www.cnblogs.com/ladyzhu/p/12463395.html