Hi Nathaniel,
Thank you for your interest in Syncfusion products.
To prevent the combo box drop down while right clicking on the cell, you can handle the MouseDown event and CurrentCellShowingDropDown event with the following code.
this.gridControl1.CurrentCellShowingDropDown += new Syncfusion.Windows.Forms.Grid.GridCurrentCellShowingDropDownEventHandler(gridControl1_CurrentCellShowingDropDown);
this.gridControl1.MouseDown += new MouseEventHandler(gridControl1_MouseDown);
void gridControl1_CurrentCellShowingDropDown(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellShowingDropDownEventArgs e)
{
if (RightButton)
{
e.Cancel = true;
}
}
bool RightButton;
void gridControl1_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
RightButton = true;
}
else
{
RightButton = false;
}
}
Please refer the following sample link which illustrates the above.
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=GC_ComboRightclick-518024068.zipPlease let me know you have any other concerns.
Regards,
Christopher K.