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

Custom Cell Buttons

Thread ID:





74682 Jun 24,2008 04:49 PM UTC Aug 13,2008 02:32 PM UTC WinForms 3
Tags: GridControl
Dave Daniels
Asked On June 24, 2008 04:49 PM UTC


Right now I am working on a grid that has 4 different buttons. These buttons are distinctly different images with a normal state image and a mousedown image. I have looked at the various samples and it looks like if I want to use and image for a button, I have to create a renderer. Is there a simpler way of doing this? The way I am interpreting this is I have to create separate renderers for each of the 4 buttons. The way the renderer is currently created is not conducive to a factory pattern.

Any help I can get is greatly appreciated.


Administrator [Syncfusion]
Replied On June 25, 2008 12:19 AM UTC

You can have a single CellModel/CellRenderer that can display differing bitmaps from cell to cell. You can pass in the bitmaps through the style.ChoiceList. Here is a little sample showing one way to do this.


Dave Daniels
Replied On June 25, 2008 05:20 PM UTC

Thanks Clay,

That was just the solution I was looking for.


Dave Daniels
Replied On August 13, 2008 02:32 PM UTC

Currently this is working great. Syncfusion is always helpful with your products now I need to take this to the next level.

Right now I have a custom cell buttons with 4 buttons each and all is working great. Now with those buttons within that custom cell with 4 buttons, I want to display a SuperToolTip on each individual button on hover. I have tried tapping in to the Draw override but that doesn't always fire on the HoverChange. I know there has to be a way to do this and I am trying to tap in to the HoverChanged event in the cell renderer but that is not working either.

I know there is something I can tap in to because I can see it change the hovering on each button.

Thanks in advance for your help.



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