fade effects to ListBox.ItemTemplate

Posted on 2009-05-11
Last Modified: 2013-11-12
i have a listbox control in silverlight and i am binding the source of ListBox.ItemTemplate dynamically. How can i give fade effects to each item?
<Grid x:Name="LayoutRoot" Background="Beige" HorizontalAlignment="Center" Width="Auto">


                <ColumnDefinition Width="1300" />

                <ColumnDefinition />



                <RowDefinition Height="Auto" />

                <RowDefinition />


            <ContentControl Content="Select a Template" Grid.Row="0" Grid.Column="0" Margin="4" />

            <ListBox Grid.Row="1" Grid.Column="0" HorizontalAlignment="Center" 


                  Style="{StaticResource WrapListBox}"                  

                  Margin="0" >


                    <!-- DataTemplate for Photograph i  nstances -->

                    <DataTemplate x:Name="PhotographTemplate">

                        <Grid Margin="6">


                                <RowDefinition Height="Auto" />

                                <RowDefinition Height="Auto" />


                            <controls:Viewbox Height="100" Width="100" VerticalAlignment="Bottom">

                                <Border BorderBrush="#FF999999" BorderThickness="2" Padding="10">

                                    <Image x:Name="Thumbnail" Source="{Binding Thumbnail}"  >




                            <ContentControl Grid.Row="1" Content="{Binding Name}" HorizontalAlignment="Center" FontSize="10" />





            <Image x:Name="Thumbnail1" Source="Template.jpg" Opacity="0"  >



Open in new window

Question by:x1877
LVL 16

Accepted Solution

CuteBug earned 500 total points
ID: 24362813

Author Comment

ID: 25019674
The first link is not working.
The second one is good

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now