Home Forums WinForms controls Other WinForms controls How can detect click event on cell in DropDownControl Reply To: How can detect click event on cell in DropDownControl

User (Old forums)
Member
Post count: 23064

The click will be handled by the control, you can however, use the mouse Down event :

foreach(Xceed.Grid.Cell c in winComboBox1.DropDownControl.DataRowTemplate.Cells)
{

c.MouseDown +=new MouseEventHandler(c_MouseDown);

}

private void c_MouseDown(object sender, MouseEventArgs e)
{

}

Imported from legacy forums. Posted by Matt (had 3053 views)