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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
c# LinkButton OnClientClick 2 34
Error on link 14 37
VS2015 Redefinition errors 4 27
Exit the loop 4 34
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe… provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

911 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

18 Experts available now in Live!

Get 1:1 Help Now