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: November 16, 2018).
Close Icon
Unfortunately, activation email could not send to your email. Please try again.
Close Icon
close icon
Vote for your favorite ebook
Succinctly Readers Awards 2020
Syncfusion Feedback

Grid Color

Thread ID:





54047 Dec 28,2006 11:36 AM UTC Dec 28,2006 04:21 PM UTC WinForms 1
Tags: GridControl
Asked On December 28, 2006 11:36 AM UTC


I have a function which chanes the color of the specfic cell at run time.

so writen the following code which sjow no effect on grid.Why?

this.Grid.Model[Row,Col].Font = new GridFontInfo(new Font("Arial",12f,FontStyle.Bold));
this.Grid.Model[Row,Col].BackColor = System.Drawing.Color.Red;

Can anyone suggest me?



Jayakumar Natarajan [Syncfusion]
Replied On December 28, 2006 04:21 PM UTC

Hi Babu,
If you are using GridDataBoundGrid, you need to handle the PrepareViewStyleInfo event to set a particular cell's back color:

KB article:

Best regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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