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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Pivot backcolor

Thread ID:





130130 Apr 24,2017 10:33 AM UTC Apr 26,2017 04:21 AM UTC WinForms 3
Tags: PivotGridControl
Matthijs Huisman
Asked On April 24, 2017 10:33 AM UTC


Is there a way to change the backcolor of the control? -> see image of the area I would like to change... 

I have tried: PivotGridControl.TableModel.TableStyle.BackColor = Color.Red but this does not work.

Thanks a lot!



Attachment: Knipsel_cdad9dd7.zip

Mohanraj Gunasekaran [Syncfusion]
Replied On April 25, 2017 11:11 AM UTC

Hi Matthijs, 

Thanks for using Syncfusion products. 

In order to change the background color of PivotGridControl, BackgroundColor property of TableModel.Properties can be used. Please refer to the below code example and the sample, 
Code example 
this.pivotGridControl1.TableModel.Properties.BackgroundColor = Color.LightBlue; 
Sample link: PivotGridControl 
Mohanraj G 

Matthijs Huisman
Replied On April 25, 2017 11:16 AM UTC

Fantastic, it works! I searched the library but never saw this one...

Thanks a lot!



Mohanraj Gunasekaran [Syncfusion]
Replied On April 26, 2017 04:21 AM UTC

Hi Matthijs,  
Thanks for your update. 
We are glad to know that your reported problem has resolved. Please let us know, if you have any other concerns. 
Mohanraj G 


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