This question is locked. New answers and comments are not allowed.
Hi! Could I have the code for zoom a page in an app? Or only an image...
I have the xaml page but not the template...
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Text="Tap on the image to enter pan and zoom mode"
Foreground="{StaticResource PhoneAccentBrush}"
Margin="12"/>
<Image Grid.Row="1"
Source="Images/comic.jpg"
Margin="12, 0, 12, 0"
Tap="Image_Tap"
HorizontalAlignment="Left"/>
<telerikPrimitives:RadWindow IsFullScreen="True"
x:Name="window">
<telerikPrimitives:RadWindow.OpenAnimation>
<telerikCore:RadScaleAnimation StartScaleX="0"
StartScaleY="0"
EndScaleX="1"
EndScaleY="1"/>
</telerikPrimitives:RadWindow.OpenAnimation>
<telerikPrimitives:RadWindow.CloseAnimation>
<telerikCore:RadScaleAnimation StartScaleX="1"
StartScaleY="1"
EndScaleX="0"
EndScaleY="0"/>
</telerikPrimitives:RadWindow.CloseAnimation>
<Grid>
<TextBlock Text="Zoom and pan for a more detailed view"
Foreground="{StaticResource PhoneAccentBrush}"
Margin="0, 12, 0, 0"/>
<slideView:PanAndZoomImage Grid.Row="1"
ZoomMode="Free"
x:Name="panZoom"
MaximumZoom="4,4"
Source="Images/comic.jpg"/>
</Grid>
</telerikPrimitives:RadWindow>
</Grid>
</UserControl>
Thanks
I have the xaml page but not the template...
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Text="Tap on the image to enter pan and zoom mode"
Foreground="{StaticResource PhoneAccentBrush}"
Margin="12"/>
<Image Grid.Row="1"
Source="Images/comic.jpg"
Margin="12, 0, 12, 0"
Tap="Image_Tap"
HorizontalAlignment="Left"/>
<telerikPrimitives:RadWindow IsFullScreen="True"
x:Name="window">
<telerikPrimitives:RadWindow.OpenAnimation>
<telerikCore:RadScaleAnimation StartScaleX="0"
StartScaleY="0"
EndScaleX="1"
EndScaleY="1"/>
</telerikPrimitives:RadWindow.OpenAnimation>
<telerikPrimitives:RadWindow.CloseAnimation>
<telerikCore:RadScaleAnimation StartScaleX="1"
StartScaleY="1"
EndScaleX="0"
EndScaleY="0"/>
</telerikPrimitives:RadWindow.CloseAnimation>
<Grid>
<TextBlock Text="Zoom and pan for a more detailed view"
Foreground="{StaticResource PhoneAccentBrush}"
Margin="0, 12, 0, 0"/>
<slideView:PanAndZoomImage Grid.Row="1"
ZoomMode="Free"
x:Name="panZoom"
MaximumZoom="4,4"
Source="Images/comic.jpg"/>
</Grid>
</telerikPrimitives:RadWindow>
</Grid>
</UserControl>
Thanks