Hi,
I have below code. but problem is my canvas is not supporting resiging stuff.
<ScrollViewer Grid.Row ="3" Name="ScrollViewer1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
<Viewbox Name="MyView" HorizontalAlignment="Left" VerticalAlignment="Top">
<Viewbox.LayoutTransform>
<ScaleTransform x:Name="secscale" ScaleX ="1" ScaleY="1"/>
Viewbox.LayoutTransform>
<Canvas Name="Canvas1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="1000" Width="980" ClipToBounds="True">
<StackPanel Name="SP1" Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Top">
StackPanel>
Canvas>
Viewbox>
ScrollViewer>
Shweta LodhaPosted Nov 27, 2014, 11:22 PM
<Canvas Name="Canvas1" HorizontalAlignment="Left" VerticalAlignment="Top" Height="{Binding ElementName=SP1, Path=ActualHeight}" Width="{Binding ElementName=SP1, Path=ActualWidth}" ClipToBounds="True">
Shweta LodhaPosted Nov 29, 2014, 6:30 AM
SukaskhaPosted Nov 29, 2014, 6:22 AM