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

Two buttons in a Cell of a GridGroupingControl

Thread ID:





26928 Apr 4,2005 01:09 PM UTC Apr 4,2005 03:49 PM UTC WinForms 1
Tags: GridControl
Julien Goldberg
Asked On April 4, 2005 01:09 PM UTC

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 03:49 PM UTC

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.

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