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