Add Imagebutton to DataGridView in C#

Posted by espais on Stack Overflow See other posts from Stack Overflow or by espais
Published on 2010-04-20T09:29:24Z Indexed on 2010/04/20 9:33 UTC
Read the original article Hit count: 349

Filed under:
|

I am trying to do a simple 'Delete Row' button in a DataGridView that I have, but the problem is that I would like it to be an ImageButton rather than a simple Button.

Currently I have it setup to be a ButtonColumn, but have seen no possibility for changing it from a simple button with text to a button with an image on it.

I know this is possible and hopefully relatively simple, but am unsure of how to go about doing it.

© Stack Overflow or respective owner

Related posts about c#

Related posts about imagebutton