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

Changing color of static cells

Is it possible to change the Color of Static cells and pushbuttons that are placed in gridcontrol. If possible kindly let me know

1 Reply

AD Administrator Syncfusion Team March 31, 2005 12:50 PM UTC

In a GridControl, you can set the BackColor of static cells using an indexer on the GridControl. this.gridControl1[row, col].BackColor = Color.Red; We currently do not support button BackColor through setting style properties. If you want to set a button backcolor, you can handle the DrawCellButtonBackColor event. Here is a forum thread on this. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=19312

Loader.
Live Chat Icon For mobile
Up arrow icon