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.

Setting the Background Color?

Thread ID:





16552 Jul 19,2004 11:59 AM Jul 19,2004 02:17 PM Windows Forms 1
Tags: Grouping
Daniel Chait
Asked On July 19, 2004 11:59 AM

How do I set the background color of the overall table (i.e. where there are no cells at all?) I dropped a gridGroupingControl on a form, made the Form''s BackColor = Color.Black, made the GridGroupingControl''s BackColor = Color.Black, and set Appearance.AnyCell.BackColor = Color.Black. However the background of the table (i.e. if I only have 1 column 100 px wide, and the control is 200 px wide, then the right-hand 100px) is white. How can I change this? Thanks - Daniel

Administrator [Syncfusion]
Replied On July 19, 2004 02:17 PM

Hi Daniel, try this.gridGroupingControl1.TableModel.Properties.BackgroundColor = yourColor; We will be making that property either a appearance style or control property in future. Right now this setting is buried to deep in the GridProperties. Stefan


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.