How can I handle the mouse click event in the UltraGrid cell which in edit mode ?
Hello wangchanel,
You could try the following approach for your scenario:
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e) { if (e.Cell.IsInEditMode) { //Here you could perform the needed actions } }
private void ultraGrid1_ClickCell(object sender, Infragistics.Win.UltraWinGrid.ClickCellEventArgs e)
{
if (e.Cell.IsInEditMode)
//Here you could perform the needed actions
}
Please do not hesitate to ask if something comes up.
Hello Boris
Thank for your reply. I know that we can handle the ultraGrid1_ClickCell event ,but I can not get more information of the mouse state, such as mouse click button(right or left), mouse click postion . So i want to handle the ultraGrid1_MouseClick event to get the MouseEventArgs.Has another method to get the mouse information when mouse click in the UltraGrid cell which in edit mode?