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
close icon

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 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);

Live Chat Icon For mobile
Up arrow icon