Limiting the number of Tiles in GroupedItemsPage in Metro UI RRS feed

  • Question

  • Hi,

    I am trying to fetch the Images from internet and bind it to the GroupedItemsPage using SampleDataGroup. Images are downloading, Now I want to limit the number of tiles to 10.

    Please help to accomplish task.

    Wednesday, March 21, 2012 10:17 AM

All replies

  • I'm not sure I understand what you are trying to do. Do you just want to limit the number of images in your data set to 10? Or do you want to show 10 tiles on the screen at a time? If the latter then I would reconsider this limitation and show your tiles in an appropriate size and let the actual number visible depend on the size and shape of the screen.


    Thursday, March 22, 2012 3:14 AM
  • Thank you , I need to limit the number of images in data set to specific number say 10.

    Thursday, March 29, 2012 12:05 PM
  • Hi vinayak,

    It can be done by using for loop by restricting its limit by 10 as follow:

    var response = await client.GetAsync(new Uri("your url"));
    var result = await response.Content.ReadAsStringAsync();
     var array= JsonArray.Parse(result);

    for (i=0;i<10;i++)




    but this is for the grouped items not for groups. i think this ll help you.

    Monday, April 21, 2014 7:41 AM