Image Source property expects a BitmapImage. If your image URL still need to be formed from a graphic attribute, you can create your own image converter that will do this type of extra handling.In your MapTip, you can do:XAML <Image x:Name="OverviewImage" Source="{Binding [ProjectID], Converter={StaticResource imageConverter}}" /> Provided you have an ImageConverter that performs this conversion from string to BitmapImage string imageUrl = string.Format("Images/{0}.png�?�, value); return new BitmapImage(new Uri(imageUrl , UriKind.Relative));
<Image x:Name="OverviewImage" Source="{Binding [ProjectID], Converter={StaticResource imageConverter}}" />
string imageUrl = string.Format("Images/{0}.png�?�, value); return new BitmapImage(new Uri(imageUrl , UriKind.Relative));
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.