Home Forums WinForms controls Xceed Grid for WinForms Context Menu for Xceed Grid Reply To: Context Menu for Xceed Grid

User (Old forums)
Member
Post count: 23064

got it to work. I am posting it so that others can use it.

private void Col_MouseDown(object sender, MouseEventArgs e )
{
if (e.Button == MouseButtons.Right )
{
contextMenu1.Show(grdReport,(sender as Xceed.Grid.Cell).ClientPointToGrid(new Point(e.X, e.Y)));
}

}

Imported from legacy forums. Posted by xUser (had 4752 views)