Silveright ScrollViewer with Image and ScaleTransform
问题 I have the following xaml. <ScrollViewer HorizontalAlignment="Stretch" Margin="107,0,0,0" Name="scrollViewer1" VerticalAlignment="Stretch" HorizontalScrollBarVisibility="Visible"> <Image Name="image1" Stretch="None" MouseWheel="image1_MouseWheel" RenderTransformOrigin="0,0"> </Image> </ScrollViewer> An the following code behind. // initialise. private TransformGroup group = new TransformGroup(); private ScaleTransform st = new ScaleTransform(); group.Children.Add(st); image1.RenderTransform =