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. Image for the cookie policy date

Grid background image and transparency

When I select a background image for a data bound grid, the image only appears on the background of the defined rows. This doesn't achieve the desired "look" when the grid only has a few rows. How can I make the background image cover the entire grid control area when it is only displaying a few rows? Is there a setting for increasing the transparency of the background image? i.e. so that it is only a faint image that doesn't impinge on the user viewing the grid data.

1 Reply

AD Administrator Syncfusion Team March 14, 2003 06:33 AM

> When I select a background image for a data bound grid, the image only appears on the background of the defined rows. This doesn't achieve the desired "look" when the grid only has a few rows. > > How can I make the background image cover the entire grid control area when it is only displaying a few rows? > > Is there a setting for increasing the transparency of the background image? i.e. so that it is only a faint image that doesn't impinge on the user viewing the grid data. Specify an alpha-value when setting the backcolor or the .Interior property of the standard-style or Table-Style. You can also do this for the area below the last row by setting grid.Model.Properties.BackgroundColor Example: grid.Model.TableStyle.BackColor = Color.FromArgb(64, Color.Window); grid.Model.Properties.BackgroundColor = Color.FromArgb(64, Color.Window); Stefan

Loader.
Live Chat Icon For mobile
Up arrow icon