Saturday, July 15, 2006
DataGridViewButtonColumn click event
I just realized that you capture the click event for the DataGridViewButtonColumn the same way you do any other column - through the DataGridView's CellClick event - The button column does not have it's own click event! So basically what makes it a button column is not it's functionality but the picture of the button that gets drawn and the press/depress "animation." In fact none of the column types expose their own events - they all rely on capturing the DataGridViews events.
Subscribe to:
Post Comments (Atom)
3 comments:
THX
thanks
Thanks a lot, just what i was wondering :)
Post a Comment