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

Setting the Background Color?

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

1 Reply

AD Administrator Syncfusion Team July 19, 2004 01: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

Loader.
Live Chat Icon For mobile
Up arrow icon