Articles in this section
Category / Section

How to customize the PivotGrid colors using XAML?

1 min read

 

XAML

<syncfusion:PivotGridControl.RowHeaderCellStyle>
<syncfusion:PivotGridCellStyle Background="Aqua" />
</syncfusion:PivotGridControl.RowHeaderCellStyle>
<syncfusion:PivotGridControl.ColumnHeaderCellStyle>
<syncfusion:PivotGridCellStyle Background="Aqua" />
</syncfusion:PivotGridControl.ColumnHeaderCellStyle>
<syncfusion:PivotGridControl.SummaryCellStyle>
<syncfusion:PivotGridCellStyle Background="Goldenrod" />
</syncfusion:PivotGridControl.SummaryCellStyle>
<syncfusion:PivotGridControl.SummaryHeaderStyle>
<syncfusion:PivotGridCellStyle Background="AliceBlue" />
</syncfusion:PivotGridControl.SummaryHeaderStyle>
<syncfusion:PivotGridControl.ValueCellStyle>
<syncfusion:PivotGridCellStyle Background="Bisque" />
</syncfusion:PivotGridControl.ValueCellStyle>
 

 

C:\Users\labuser\Dropbox\Screenshots\Screenshot 2014-06-05 13.10.25.png

Figure: pivot grid shows customized colors for all cells

 

Conclusion

I hope you enjoyed learning about how to customize the PivotGrid colors using XAML.

You can refer to our WPF PivotGrid feature tour page to know about its other groundbreaking feature representations. You can also explore our WPF PivotGrid to understand how to present and manipulate data.

For current customers, you can check out our WPF Controls from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WPF PivotGrid and other WPF controls.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied