110,534
社区成员
发帖
与我相关
我的任务
分享
private void gcMaterialCollection_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left) //clicking left button shows tooltips according to different cells
{
DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hitInfo = gvMaterialCollection.CalcHitInfo(e.Location);
if (hitInfo.InColumnPanel)
{//do something}
}}