Add image to datagrid

  • Thread starter Thread starter Rudolf Ball
  • Start date Start date
R

Rudolf Ball

Hi NG,

how can I add an image into a cell of a DataGrid in WindowsForms?

Thank you

Rudi
 
Rudi,

In order to do this, you will have to create a class that derives from
the DataGridColumnStyle class and have it paint an image based on the
contents of the column it is bound to.

You might be able to find an implementation of this somewhere already,
as it is a pretty common request.

Hope this helps.
 
Hi Lee,

I just want to add a bitmap to a specific cell within a DataGrid
(WindowsForms). How can I do that?

Thank you

Rudi
 
Back
Top