I have a WPF Image Control in my project that loads from internet (lazy loading), i want to show a initial image in Image Control until main image load. plz help me
<DataTemplate DataType="{x:Type local:MyData}">
...
<Image Width="50" Height="50" Source="{Binding Path=profile_image_url_https, FallbackValue=profile_image_url_https}" HorizontalAlignment="Left">
...
</DataTemplate>
You might be able to make it work using
TargetNullValueon the binding, only set the image property when it is loaded.e.g.