Hi,
How to get the tile that is clicked? I am trying to check source in "TileManager_Preview_MouseleftButtonUp" handler, but not able to get the Tile object reference.
Attached the sample project.
Can anyone help out?
Hello Prasad,
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.
I have been looking into your question. What I can suggest is to use the 'sender' instead of the e.Source as the PreviewMouseLeftButtonUp event is handled by the XamTile and the sender is the XamTile itself.
Please do not hesitate to let me know if you have any further questions on this matter.
SORRY for troubling again.
I just wanted to keep the Header display empty without any text/data and only keep only buttons, so I pushed the EmpNo also to Content part.
Again it is behaving differently. Not able to get the Tile object in PreviewMouseUp :-(
It is working if I set the HeaderPath to EmpNo. And if I comment this "HeaderPath="EmpNo" it is not working. How this tile events are linked to HeaderPath binding ?
Is there a way to get tile object in this case?
Attached modified sample.
Regards,
Prasad
Hello nknprasad,
Thank you for the feedback. I am glad I was able to help.
This helped me.
Thank You Gergana.