Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Error: Windows.UI.Xaml.Controls.Image doesn't contain a definition for 'AbsoluteUri'...

in xaml.cs
C#
var recipe1 = RandomAccessStreamReference.CreateFromUri(new Uri(image1.AbsoluteUri));
           request.Data.Properties.Thumbnail = recipe1;
           request.Data.SetBitmap(recipe1);


in .xaml
XML
<Image Name="image1" Source="{Binding ImagePath}" Height="300" Stretch="UniformToFill">


What am I missing?
Posted
Comments
Sergey Alexandrovich Kryukov 26-Nov-14 16:50pm    
Well, nothing, you just need a URI. Who told you that an image should contain AbsoluteUri, why?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900