Adding two images to a cell

Can i add two icons in a cell in databound grid control?

1 Reply

AD Administrator Syncfusion Team February 7, 2005 12:27 PM UTC

Yes. One way to do it is the use the CellDrawn event and draw as many bitmaps as you would like. Set the TextMargins on the GridBoundColumn.StyleInfo to reserve the space to display the bitmaps. See this forum thread for some code snippets (Use CellDrawn and not DrawCell , and use the GridBoundColumn.StyleInfo instead of the indexer to set the style properties) as shown in the code there). http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=16748

Loader.
Up arrow icon