我将图像放置在ScrollViewer内。如何设置适合于ScrollViewer宽度的图像
<ScrollViewer x:Name="imageScroller" Grid.Column="2" Margin="5" HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Visible">
<Image x:Name="imageViewer" Cursor="Hand" RenderTransformOrigin="0,0" Margin="0">
<Image.LayoutTransform>
<ScaleTransform ScaleX="{Binding Path=Zoom, Converter={StaticResource debugConverter}}" ScaleY="{Binding Path=Zoom, Converter={StaticResource debugConverter}}"/>
</Image.LayoutTransform>
</Image>
</ScrollViewer>
如何放大图像一样“适合与宽度的”文件观众的ScrollViewer的大小和高度?
请您详细说明一下吗? – Anvaka 2010-02-25 15:16:18