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.

Two buttons in a Cell of a GridGroupingControl

Thread ID:





26928 Apr 4,2005 09:09 AM Apr 4,2005 11:49 AM Windows Forms 1
Tags: GridControl
Julien Goldberg
Asked On April 4, 2005 09:09 AM

Hi. I''m trying to create a new cellmodel to have two buttons in a cell. So, i create two GridCellButton and i add them with "addButton". But i would like to center the two buttons in my cell. I tried to override the onlayout method but i don''t have an access to the cellbounds. If i ovveride the Draw method, i can''t access to the buttons bounds. Thank you.

Administrator [Syncfusion]
Replied On April 4, 2005 11:49 AM

I think the renderer.OnLayout is where you need to set the proper button bounds. Here is a little sample that puts 2 elipsis buttons in the middle of a cell using that override. http://www.syncfusion.com/Support/user/uploads/two_buttons_35ca22be.zip


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.