Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1300
How to get the Tile that is clicked?
posted

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?

XamTileManagerTests3.zip
Parents
  • 22015
    posted

    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.

Reply Children