Created
April 9, 2017 05:58
-
-
Save Avene/dcb26a8416e4045ab6b5fb5a41c51d4e to your computer and use it in GitHub Desktop.
binding image uri on xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Image x:Name="Image" | |
RelativePanel.AlignHorizontalCenterWithPanel="True" | |
RelativePanel.AlignTopWithPanel="True" | |
Stretch="Uniform"> | |
<!--http://stackoverflow.com/questions/37311346/windows-10-uwp-binding-image-url-to-image-source-in-listview--> | |
<Image.Source> | |
<BitmapImage UriSource="{x:Bind viewModel.ImageUri, Mode=OneWay}" /> | |
</Image.Source> | |
</Image> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment