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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting the Background Color?

Thread ID:





16552 Jul 19,2004 03:59 PM UTC Jul 19,2004 06:17 PM UTC WinForms 1
Tags: Grouping
Daniel Chait
Asked On July 19, 2004 03:59 PM UTC

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 06:17 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon