Hello,
I have a listbox and Carousel populate dynamically in a TileView. The TIleView and the Listbox are binded to xml data and is working nicely. My Problem with syncing and binding the carousel. The Carousel is populating the image and text, but only to the first Table in the XML data. When selecting a Item in the listbox the carousel just spins. I would like to select a item in the listbox and the image of the carousel would Bring to view(Front).
Any Thoughts?
Thank You
Rick Mueller
I have a listbox and Carousel populate dynamically in a TileView. The TIleView and the Listbox are binded to xml data and is working nicely. My Problem with syncing and binding the carousel. The Carousel is populating the image and text, but only to the first Table in the XML data. When selecting a Item in the listbox the carousel just spins. I would like to select a item in the listbox and the image of the carousel would Bring to view(Front).
<
Grid
x:Name
=
"ImGrid"
Margin
=
"220,0,0,210"
DataContext
=
"{Binding SelectedItem, ElementName=TileContentData1}"
Width
=
"400"
Height
=
"420"
>
<
Grid.Resources
>
<
DataTemplate
x:Key
=
"customItemTemplate"
>
<
Border
Background
=
"LightSlateGray"
Padding
=
"10"
>
<
Grid
>
<
StackPanel
>
<
Image
Source
=
"{Binding Source={StaticResource Recipe1},XPath=Image}"
Height
=
"240"
Width
=
"200"
Stretch
=
"Fill"
/>
<
TextBlock
FontSize
=
"12"
Text
=
"{Binding Source={StaticResource Recipe1},XPath=RecipeID}"
/>
</
StackPanel
>
</
Grid
>
</
Border
>
</
DataTemplate
>
</
Grid.Resources
>
<
telerik:RadCarousel
ItemsSource
=
"{Binding}"
ItemTemplate
=
"{StaticResource customItemTemplate}"
Height
=
"400"
/>
</
Grid
>
</
Grid
>
Any Thoughts?
Thank You
Rick Mueller