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.
Syncfusion Feedback

OnDrawCell

Thread ID:

Created:

Updated:

Platform:

Replies:

29983 Jun 8,2005 02:15 PM UTC Jun 10,2005 09:49 AM UTC Windows Forms 2
loading
Tags: GridControl
Mike Woolley
Asked On June 8, 2005 02:15 PM UTC

I''m overriding OnDrawCell() and successfully painting an icon into the cell. However, when I highlight a row by clicking with the mouse, the highlight bar gets drawn over the image. If I scroll the highlighted bar with the keyboard, the image is drawn with the row highlight correctly alphablended over the top. Any ideas what I''m doing wrong? I''ve tried not calling base.OnDrawCell() etc.

Administrator [Syncfusion]
Replied On June 8, 2005 06:09 PM UTC

Just somethng to try. Move your drawing code from DrawCell to CellDrawn to see if it work better for you there.

Mike Woolley
Replied On June 10, 2005 09:49 AM UTC

Thanks Clay, that works fine now.

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

;