1
我有我的WP7.5 Silverlight应用程序中的图像元素,我试图以XAML和编程方式更改它的源代码。无论我尝试什么,我都无法完整地加载大图像(大小或字节,我不知道)。图像将无法完全加载在Windows Phone 7.5
这里是我的代码:
<controls:PanoramaItem>
<ScrollViewer VerticalAlignment="Top" VerticalScrollBarVisibility="Auto" Margin="2, 4, 0, 0" HorizontalScrollBarVisibility="Disabled">
<StackPanel x:name="stackPanel">
<TextBlock x:Name="debugger" Foreground="Black"/>
<Image Source="http://d24w6bsrhbeh9d.cloudfront.net/photo/1574819_460s.jpg" VerticalAlignment="Top" ImageOpened="Image_ImageOpened"/>
</StackPanel>
</ScrollViewer>
</controls:PanoramaItem>
private void Image_ImageOpened(object sender, RoutedEventArgs e)
{
debugger.Text = "DONE";
}
非常感谢! – mostruash 2012-01-06 07:14:16