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.
Syncfusion Feedback

grid to Doc

Thread ID:

Created:

Updated:

Platform:

Replies:

64558 Jul 23,2007 02:10 PM UTC Jul 23,2007 06:06 PM UTC Windows Forms 1
loading
Tags: DocIO
sravan
Asked On July 23, 2007 02:10 PM UTC

hi , i am setting the grid background to some colour using the selectrange tab, Misc property.but while using grid .properties.background colour,i cannot access the indiidual colours.
how can i do this.problem.it is the colour which has set in the grid.

haneefm [Syncfusion]
Replied On July 23, 2007 06:06 PM UTC

Hi V.Sravan,

The grid.Properties.BackgroundColor is used to color the grid's client area not occupied by grid cells (to the left and bottom of the grid cells when the cells do not cover the entire area of the grid). The grid.BackColor is used to set the BackColor in the standard basestyle so it controls the default color of the cells. The GridStyleInfo.BackColor property is used to set the backcolor of the cells on the GridControl.

this.grid[row, col].BackColor = Color.Red;

Best regards,
Haneef

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

;