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.

Background Image for GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

39648 Jan 13,2006 03:31 PM Jan 19,2006 07:58 PM Windows Forms 1
loading
Tags: GridControl
Alejandro Serrano
Asked On January 13, 2006 03:31 PM

Hi, I need to show an background image in the center of the grouping grid (not in a cell or in a set of cells). However, I cannot find any way to do it. At first I tried setting grid.BackgroundImage = image; grid.BackgroundImageLayout = Layout.Center; but it didn''t work Using Paint handler neither works. How can I show this image in the center of the grid control, even though there are new rows?

stanleyj [Syncfusion]
Replied On January 19, 2006 07:58 PM

Hi Serras, Sorry for the delay in getting back to you. You will have to use the custom engine and derive the GridTableControl, overriding OnPaint() and draw the required Image to get an image stay on the GGC. Here is sample. Best regards, Stanley

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.

;