I have a custom editor for one of my cells. It acts like a button. I am trying to perform certain action only when the button's mouse up event is triggered and the mouse is on top of the button. The problem I'm having is that I'm not able to access the bounds of the button or the cell. Can you please tell me how I can access this.
My code is below,
System.Windows.Forms.Button button = new System.Windows.Forms.Button();
button.BackColor = Color.Salmon;
button.MouseUp += delegate
//this.EditingCell is null
Please sign in to leave a comment.