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.

Change Grid Control Back Colour

Thread ID:

Created:

Updated:

Platform:

Replies:

46760 Jul 20,2006 01:55 AM Jul 20,2006 03:11 AM Windows Forms 2
loading
Tags: GridControl
Terence Rossow
Asked On July 20, 2006 01:55 AM

Hi there,

I''m trying to change the colour that the grid control shows outside the bounds of the rows and columns. For example, say I have a grid with 3 rows and 3 columns, and each row and column has a height/width of 10px. I then drag the size of the grid out to 100px by 100px. I want to change the colour shown by the control between the last row/col and the bounds.

Cheers,
TERRY ROSSOW

Administrator [Syncfusion]
Replied On July 20, 2006 02:13 AM

Hi Terry,

You can achieve this by setting the below property.

this.gridControl1.Properties.BackgroundColor = Color.Green;

Thanks,
Rajagopal

Administrator [Syncfusion]
Replied On July 20, 2006 03:11 AM

Cheers, that''s perfect.

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.

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.

;