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.
Up arrow icon