When we change the width of PivotRowsPanel I want all the PivotRowHeaderCell's to stretch with the PivotRowsPanel width's change. So say set a width of 200 to PivotRowsPanel which should reflect on PivotRowHeaderCellControl and for the resize happening to work fine. I have tried different ways like overriding pivotrowspanel and this doesnt seem to work. Any help would be appreciated Is this possible?
Hello Anand,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style of the RowsFieldDropAreaControl and handled the SizeChanged event of the StackPanel that contains the headers. In the handler I set the header’s width based on the size of the StackPanel. Please let me know if you have further questions on this matter.
Looking forward for your reply.
Perfect Stefan !! Thanks for your great work!!
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.