博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Devexpress 之gridControl双击行事件
阅读量:7069 次
发布时间:2019-06-28

本文共 337 字,大约阅读时间需要 1 分钟。

MouseDown事件

protected internal void gridControl1_MouseDown(object sender, MouseEventArgs e)
{
DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hInfo = gridView1.CalcHitInfo(new Point(e.X, e.Y));
if (e.Button == MouseButtons.Left && e.Clicks == 2)
{
//判断光标是否在行范围内
if (hInfo.InRow)
{
//MessageBox.Show(hInfo.RowHandle.ToString());
}
}
}

转载地址:http://deqll.baihongyu.com/

你可能感兴趣的文章
单机上使用git#180804
查看>>
nginx+tomcat负载均衡
查看>>
php-编译安装
查看>>
微信小程序开发记账应用实战服务端之用户注册与登录基于ThinkPHP5描述
查看>>
感谢2011
查看>>
power shell 远程连接
查看>>
你的灯还亮着吗
查看>>
android手机在slackware linux上的调试
查看>>
mysql性能优化配置
查看>>
JavaScript继承方式详解
查看>>
解决win7旗舰版无法打开微软论坛
查看>>
烂泥:高负载均衡学习haproxy之安装与配置
查看>>
Web.config配置文件详解(新手必看)<转>
查看>>
【转】shell编程:数学运算
查看>>
ASP.NET
查看>>
使用mosh取代ssh提高n2n网络连接稳定性
查看>>
Introduction - 介绍
查看>>
C++之萃取技术(traits)
查看>>
13、ArrayBlocking
查看>>
windows强行删除无法删出文件或文件夹的方法
查看>>