Tech Off Thread

4 posts

WP7: What controls they use in the Pictures & People hub to display pictures

Back to Forum: Tech Off
  • User profile image
    punkouter

    I just started learning development for WP7, and very much curious on what control that is being used to display images in an album in the pictures and people hub. It seems like a flow layout with image boxes, but couldnt really find that control in my toolbox. Is it possible that it is actually a grid?

    But how do you generate them if you dont know the number of images available. Plus, it actually loads more pictures as you scroll down. Is this being done with manual algorithm?

    I'd imagine that if you have the ability to just bind to a flow layout control, then it will be much less complicated.

    Thanks.

  • User profile image
    spivonious

    @punkouter: Is it possible that it's just a ListBox with a virtual items panel?

  • User profile image
    W3bbo

    , punkouter wrote

    I just started learning development for WP7, and very much curious on what control that is being used to display images in an album in the pictures and people hub. It seems like a flow layout with image boxes, but couldnt really find that control in my toolbox. Is it possible that it is actually a grid?

    But how do you generate them if you dont know the number of images available. Plus, it actually loads more pictures as you scroll down. Is this being done with manual algorithm?

    I'd imagine that if you have the ability to just bind to a flow layout control, then it will be much less complicated.

    Thanks

    Remember that many of the built-in applications and features in WP7 are native and have their own UI widget implementations that will differ from what's presented to developers in Silverlight.

  • User profile image
    wkempf

    I don't know what they used, but you can achieve the same thing (and it's likely what they used) by just using a ListBox. All you have to do is replace the ItemsContainer with the appropriate panel.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.