using DevExpress.XtraGrid.Views.Grid.ViewInfo;
private void gridUpperRecord_MouseDown(object sender, MouseEventArgs e)
{
GridHitInfo hInfo = gdvUpperRecord.CalcHitInfo(new Point(e.X, e.Y));
if (hInfo.RowHandle < 0)
{
//具体内容
}
}
转载:http://www.makaidong.com/C%20sharp/419698.shtml