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.
Unfortunately, activation email could not send to your email. Please try again.

Changing color of static cells

Thread ID:





26772 Mar 31,2005 06:36 AM Mar 31,2005 07:50 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On March 31, 2005 06:36 AM

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

Administrator [Syncfusion]
Replied On March 31, 2005 07:50 AM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.