This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to implement a carousel of images with RadSlideView as per the example in the demo. On tapping the currently displayed image on the carousel, I should get the same image full screen using a new window, right? However and all the time, I'm getting the previous image in the collection displayed full screen. Am I doing something wrong? Here's the XAMLcode:
Thanks,
Alain
I'm trying to implement a carousel of images with RadSlideView as per the example in the demo. On tapping the currently displayed image on the carousel, I should get the same image full screen using a new window, right? However and all the time, I'm getting the previous image in the collection displayed full screen. Am I doing something wrong? Here's the XAMLcode:
<
telerikPrimitives:RadSlideView
Grid.Row
=
"0"
x:Name
=
"slideView"
ItemsSource
=
"{Binding mySource}"
AdjacentItemsPreviewMode
=
"Both"
>
<
telerikPrimitives:RadSlideView.ItemTemplate
>
<
DataTemplate
>
<
Grid
>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
Image
Source
=
"{Binding Pic, Converter={StaticResource BytesToImageConverter}}"
Width
=
"460"
Height
=
"460"
Margin
=
"0,0,0,0"
Tap
=
"Image_Tap"
>
</
Image
>
<
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"
Source
=
"{Binding Pic, Converter={StaticResource BytesToImageConverter}}"
/>
</
Grid
>
</
telerikPrimitives:RadWindow
>
</
Grid
>
</
DataTemplate
>
</
telerikPrimitives:RadSlideView.ItemTemplate
>
<
telerikPrimitives:RadSlideView.ItemPreviewTemplate
>
<
DataTemplate
>
</
DataTemplate
>
</
telerikPrimitives:RadSlideView.ItemPreviewTemplate
>
</
telerikPrimitives:RadSlideView
>
Thanks,
Alain