locked
Equivalent of Stretch="UniformToFill" RRS feed

  • Question

  • I used the Grid template to build my app. The app displays a list of authors in groupedItems.html.

    The images that are not all of the same size. I would like the images to be resized and filled in the space provided for them. This can be achieved in XAML apps using:

    <Image Source="{Binding Image}" Stretch="UniformToFill"/>

    How would I achieve the same effect using css/js?

    Thanks

    Monday, August 20, 2012 10:27 PM

Answers