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

PushButton color

How do I change PushButton color from default gray to something different? How do you make the button smaller?

2 Replies

AD Administrator Syncfusion Team May 31, 2006 04:54 AM UTC

Hi Michael, The TableControlDrawCellButtonBackground event must be handled and there the push button color can be set. And the style.BorderMargins property can be set to affect the size of a push button cell. Sample attached. Regards, Calvin.

PushButton.zip


AD Administrator Syncfusion Team May 31, 2006 05:14 PM UTC

Thanks a lot, it works fine. Why cannot there be a color property to deal with this issue? >Hi Michael, > >The TableControlDrawCellButtonBackground event must be handled and there the push button color can be set. And the style.BorderMargins property can be set to affect the size of a push button cell. Sample attached. > >Regards, >Calvin.

PushButton.zip

Loader.
Live Chat Icon For mobile
Up arrow icon