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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding two images to a cell

Thread ID:

Created:

Updated:

Platform:

Replies:

24547 Feb 7,2005 11:45 AM UTC Feb 7,2005 12:27 PM UTC WinForms 1
loading
Tags: GridControl
subair
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

CONFIRMATION

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.

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

;