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

Dropdown Form & UserControl sample

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?

1 Reply

AD Administrator Syncfusion Team 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);

Loader.
Live Chat Icon For mobile
Up arrow icon