Hi.
I'm wondering if there is a way in the xamPivotGrid to have alternate highlighting of row headers. Specifically, I want row headers on level 1 to have a white background, level 2 to have a grey background, and then subsequent levels to alternate between the two.
I've found a way to do it for the data cells (based loosely on http://es.infragistics.com/community/forums/t/49331.aspx), but I can't seem to figure out how to replicate for header cells. Is this supported in any way?
Thanks.
Hi
may be this sample will be interesting for you;
http://es.infragistics.com/products/silverlight/sample/pivot-grid/#/custom-header-and-cell-templates
Regards
Todor
Thank you, Todor.
I basically copied the sample (taking out the Button reference), and I've been able to get the background colour to cover the TextBlock region. How can I extend this to cover the entire header cell?
Hello,
I am just checking if you got this worked out, or you still require any assistance, or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
I have been following this thread and I since the header and data cell templates are applied to the ContentTemplate of the PivotHeaderCellControl PivotCellControl classes (http://help.infragistics.com/NetAdvantage/WPF/2012.2/CLR4.0/?page=DesignersGuide_Styling_Points_for_xamPivotGrid.html ), I can suggest retemplating them so that there is no excessive space around their ContentPresenters. This can be done like so: http://help.infragistics.com/NetAdvantage/WPF/2012.2/CLR4.0/?page=DesignersGuide_Editing_Style_Properties_Using_Expression_Blend.html , or use the provided default templates here: C:\Program Files (x86)\Infragistics\NetAdvantage 2012.2\WPF\DefaultStyles\XamPivotGrid (default install path).
Please let me know, if you require any further clarification on the matter.