Snippet added

This commit is contained in:
vakrilov
2015-03-11 18:19:14 +02:00
parent 9113faacc4
commit af1d90f4ed

View File

@ -9,7 +9,16 @@ import ImageModule = require("ui/image");
// Binding the image source property to a view-model property.
//```XML
// <Page>
// {%raw%}<Image src="{{ thumbnailImageUrl }}" />{%endraw%}
// <StackLayout>
// <!--Bind the image source property to view-model property -->
// {%raw%}<Image src="{{ thumbnailImageUrl }}" />{%endraw%}
// <!--Load form image from application -->
// <Image source="~/app/logo.png" stretch ="none" / >
// <!--Load form image resource -->
// <Image source="res://app/logo.png" stretch ="none" / >
// <!--Load form image URL-->
// <Image source="http://www.google.com/images/errors/logo_sm_2.png" stretch ="none" />
// </StackLayout>
// </Page>
//```