I created a custom user control and a new CellViewerManager to use it in my grid.
My user control is made of several controls, one being a PictureBox. The PictureBox handles it’s Click event and displays a MessageBox.
This works as expected outside of the grid.
But inside the grid, the PictureBox never gets any mouse events when I click it.
I understand that I can subscribe to each grid cell’s Click event, but then in the handler for those I’d have to pass the event to my user control. Assuming that’s what I had to do, I implemented that, but then I’ve got a Click event at the UserControl level and I don’t know how to route it to the controls containing within it. (Aside from doing the math)
Am I missing something? Is there a better implementation for what I’m trying to do? I’m happy to basically start over if it helps.
Imported from legacy forums. Posted by Buzz (had 622 views)