Home Forums WinForms controls Xceed Grid for WinForms adding image dynamically Reply To: adding image dynamically

Xceed Support
Post count: 5658

You need to subscribe to each cell to get the Click event. After, through the sender, you can access the ParentRow.

private void Form1_Load( object sender, EventArgs e )

foreach( Cell cell in dataRowTemplate1.Cells )
cell.Click += new EventHandler( cell_Click );

void cell_Click( object sender, EventArgs e )

Imported from legacy forums. Posted by CharlesB (had 5073 views)