C# ImageFailed事件在长列表选择器-WP7中不起作用

C# ImageFailed事件在长列表选择器-WP7中不起作用,c#,windows-phone-7,C#,Windows Phone 7,我正在使用长列表选择器。我想在找不到图像时显示默认图像 为此,我有一个失败的事件。当我在列表框中使用此事件时,效果很好 但在长列表选择器中,它不起作用 我可以知道我犯了什么错误吗 <DataTemplate x:Key="ItemTemplate" > <StackPanel Orientation="Horizontal"> <Image Source="{Binding ListImage}" Height="100" W

我正在使用长列表选择器。我想在找不到图像时显示默认图像

为此,我有一个失败的事件。当我在列表框中使用此事件时,效果很好

但在长列表选择器中,它不起作用

我可以知道我犯了什么错误吗

<DataTemplate x:Key="ItemTemplate" >
        <StackPanel Orientation="Horizontal">
            <Image Source="{Binding ListImage}" Height="100" Width="100" Stretch="Uniform" Margin="10,2,0,0" ImageFailed="Image_ImageFailed" />
            <TextBlock Text="{Binding ListFullName}" Width="200" Foreground="Black" Margin="10,10,0,0" FontWeight="SemiBold" FontSize="22" />
            <TextBlock Text="{Binding ListBio}" FlowDirection="LeftToRight" Foreground="Black" Margin="-200,50,0,0" FontWeight="ExtraLight" FontSize="20" />
        </StackPanel>
    </DataTemplate>
这是我的密码。请参考这个,让我知道我犯了什么错误?? 我还尝试了回退值。它也不起作用。。
如果找不到图像,是否有其他方法加载默认图像???

另一种方法是将默认图像放置在当前图像的下方。加载并显示图像后,此图像将消失。

Hi。。谢谢你的回复。。我在哪里做这个过程。我无法说出来源。我可以提供绑定或直接映像路径。如何在同一个疼痛中给予两者??
private void Image_ImageFailed(object sender, ExceptionRoutedEventArgs e)
    {
        MessageBox.Show(e.ErrorException.Message);
        Image Img = (Image)sender;
        Img.Source = new System.Windows.Media.Imaging.BitmapImage(new Uri("/Test;component/Images/Head@2x.png", UriKind.Relative));

    }