Hi,
I want to highlight column header and row selectors for selected cells. (Similar to Excel.) Is there any way I can achieve this in style? I tried to create CellValuepresenter style but I am not able to access label presenter associate to it.
Hello,
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 created a Style for the LabelPresenter in order to handle its Loaded event. In the handler I populate a collection with the LabelPresenters. I also handled the CellActivating and Deactivating events in order to be able to change the Backgrounds of the RecordSelector and the Labels. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hi Stefan,Thanks for your reply. This was working only for active cell not for multiple selected cells. I have implemented it using behaviors. Please let me know if is there any other way.