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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Showing Image on Grid Button

Thread ID:





14273 May 24,2004 09:22 AM UTC May 24,2004 10:53 AM UTC WinForms 1
Tags: GridControl
Sikandar Hasnain
Asked On May 24, 2004 09:22 AM UTC

Hi I have set the type of one column in my grid as "Push Button". Now I want to show an icon on it. I tried to the image list property of Grid Cell but it is not working Can any one guide me how can I do that

Administrator [Syncfusion]
Replied On May 24, 2004 10:53 AM UTC

The grid\samples\in depth\cellbuttons sample has a cell control that places a bitmap on a button. You could use the same control in your code to have a bitmap button. When using this sample, there is a line that reads: iconPainter = new GridIconPaint("CellButtons.", typeof(EllipsisCellButton).Assembly); The ''CellButtons.'' in the line is the namespace where you have embedded the bitmap resource, so make sure it is set properly or your bitmap will not show up.


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