Hi,
when moving the mouse pointer across a xamGrid I need to retrieve the column beneath the mouse pointer. I found a post explaining how to get the row beneath using a style on CellsPanel and setting an event setter for the MouseEnter event. But I can't figur out how to retrieve the key of the column (TextColumn).
Thanks for any help.
Stephan
Hello Stefan,
sorry, I didn't have the time to try yout solution. Though I'm sure that I tried to set an eventsetter for CellControl but then got an error, something like "can't convert eventsetter to setter" as I recall.Well, I'll try it again tomorrow.
Should your solution work in Version 2013.2 as well?
Hello Stephan,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
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 CellControl element and added EventSetter for the MouseEnter event. In the Handler I cast the sender to CellControl and used its Column’s Key Property to get the Key of the Column in which the hovered cell is. Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.