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.
Unfortunately, activation email could not send to your email. Please try again.

Adding two images to a cell

Thread ID:

Created:

Updated:

Platform:

Replies:

24547 Feb 7,2005 06:45 AM Feb 7,2005 07:27 AM Windows Forms 1
loading
Tags: GridControl
subair
Asked On February 7, 2005 06:45 AM

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

Administrator [Syncfusion]
Replied On February 7, 2005 07:27 AM

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.

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.

;