private void gridControl1_MouseLeave(object sender, EventArgs e)
{
toolTip.HideHint();
}
private void gridControl1_MouseMove(object sender, MouseEventArgs e)
{
DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo hint = gridView1.CalcHitInfo(e.X, e.Y);
if (hint.Column == null)
{
return;
}
string str = gridView1.GetRowCellDisplayText(hint.RowHandle, hint.Column.FieldName);
toolTip.ShowHint(str);
}
GridControl控件mousemove数据获取
最新推荐文章于 2022-08-05 15:07:57 发布