locked
Split page template and tapped event RRS feed

  • Question

  • I use windows 8 Split page template that displays a grid and I populate it with my data. Each grid item would then take me to specified page. How do I extract which grid item element got tapped so that I can take the user to appropriate page ?
    Thursday, February 6, 2014 6:30 PM

Answers

  • Hi Banshee111,

    ListView is the core of Split page, I think your question can be asked like: how I can get the tapped item in a ListView.

    Well, the answer is quite easy, try to fire a ItemClick event while the item of ListView has been tapped, do not forget to enable IsItemClickEnabled property. 

    When you receive the event, you can use Navigate(TypeName) method to navigate user to another page.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Friday, February 7, 2014 2:18 AM
    Moderator