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.

Pivot backcolor

Thread ID:

Created:

Updated:

Platform:

Replies:

130130 Apr 24,2017 06:33 AM Apr 26,2017 12:21 AM Windows Forms 3
loading
Tags: PivotGridControl
Matthijs Huisman
Asked On April 24, 2017 06:33 AM

Hi,

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!

Regards,

Matthijs

Attachment: Knipsel_cdad9dd7.zip

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

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; 
 
Screenshot 
 
 
Sample link: PivotGridControl 
 
Regards, 
Mohanraj G 


Matthijs Huisman
Replied On April 25, 2017 07:16 AM

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

Thanks a lot!

Regards,

Matthijs

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

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. 
 
Regards, 
Mohanraj G 


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.

;