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.

Dropdown Form & UserControl sample

Thread ID:





14844 Jun 6,2004 10:55 PM Jun 7,2004 01:33 AM Windows Forms 1
Tags: GridControl
Lori S. Pearsall
Asked On June 6, 2004 10:55 PM

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 01:33 AM

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.

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.