回复 1楼yaoxiaoqiang00的帖子
获取方法请参考代码:
- private void GcSpreadSheet_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
- {
- HitTestInformation info = gcSpreadSheet1.HitTest(e.GetPosition(gcSpreadSheet1).X, e.GetPosition(gcSpreadSheet1).Y);
- int row = info.ViewportInfo.Row;
- int col = info.ViewportInfo.Column;
- }
复制代码 |