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 nknprasad,
Thank you for posting!
I have been looking into your post and the sample application, that you have attached to the post. In the sample application you are creating the event handler right after the Initialize method and you are hooking to the event in the AddInternalNodeTileToTileGroup method.
In order for the event to fire I can suggest to place the handler of the event(Tile_PreviewMouseLeftButtonUp) after the AddInternalNodeTileToTileGroup method. This way when you click on one of the inner tiles the event would fire.
Please do not hesitate to let me know if you have any further questions on this matter.
I tried as per your suggestion, but it is still behaving the same.
Attached the modified sample.