We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding two images to a cell

Thread ID:





24547 Feb 7,2005 11:45 AM UTC Feb 7,2005 12:27 PM UTC WinForms 1
Tags: GridControl
Asked On February 7, 2005 11:45 AM UTC

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

Administrator [Syncfusion]
Replied On 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon