可以尝试一下BeforeMouseDown 事件
-
- c1FlexGrid3.BeforeMouseDown += C1FlexGrid3_BeforeMouseDown;
- private void C1FlexGrid3_BeforeMouseDown(object sender, BeforeMouseDownEventArgs e)
- {
- var hi=c1FlexGrid3.HitTest(e.X,e.Y);
- if(hi.Column == 2 &&hi.Row==4)
- {
- e.Cancel = true;
- }
- }
复制代码 |