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

Dropdown Form & UserControl sample

Thread ID:





14844 Jun 7,2004 02:55 AM UTC Jun 7,2004 05:33 AM UTC WinForms 1
Tags: GridControl
Lori S. Pearsall
Asked On June 7, 2004 02:55 AM UTC

I''ve used and modified the code in the Dropdown Form & UserControl sample (thanks!). I''ve sized the added button to the current row height. What I''d like to do is have these buttons behave like the combobox buttons do - when you resize the row, the button height is always the row height. What event/property would I need to handle to accomplish this?

Administrator [Syncfusion]
Replied On June 7, 2004 05:33 AM UTC

One simple way to do this is to set the height of the ButtonBarSize to be some max value. When the button is drawn, the drawing code will truncate this height to fit the cell. ButtonBarSize = new Size(14, 500);


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