Home Forums WinForms controls Xceed Grid for WinForms mouse double click event

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #17032 |

    Hi,

    I’m using the grids “MouseDoubleClick” event to display the current cell value in a popup box. This work fine except when I double click a column Header to auto resize the column – this functionality does not work now and I get the current cell value popping up (which I don’t want if I’m clicking the Column header)

    Is there a way of knowing if the user has double clicked a column header?

     

    Thanks in advance

    Troy.

    Imported from legacy forums. Posted by troy@querytool.com (had 1556 views)

    User (Old forums)
    Member
    Post count: 23064

    I suggest you use the DoubleClick at the DataCell level instead at the grid level.

    e.g.:

          foreach( Cell cell in dataRowTemplate1.Cells )
          {
            cell.DoubleClick += new EventHandler( cell_DoubleClick );
          }

     

    Imported from legacy forums. Posted by André (had 1889 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.