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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing color of static cells

Thread ID:

Created:

Updated:

Platform:

Replies:

26772 Mar 31,2005 11:36 AM UTC Mar 31,2005 12:50 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 31, 2005 11:36 AM UTC

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

CONFIRMATION

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.

Warning Icon 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.Close Icon

;