How to create Marquee functionality in Silverlight ?

We can create the very nice rotating text or image functionality with the help of animation in silverlight.

Storyboard is used to manage the timeline of animation.Storyboard can be used to group multiple animation.It has the ability to control the playback of animation.

The complete syntax for Marquee in silverlight is

<EventTrigger RoutedEvent="Canvas.Loaded" >
<Storyboard x:Name="animation" Storyboard.TargetProperty="(Canvas.Left)" RepeatBehavior="Forever" >

<DoubleAnimation Storyboard.TargetName="txtBlock1" From="0" To="520" Duration="0:0:10" />


<TextBlock x:Name="txtBlock1" FontFamily="Verdana" FontSize="36" Foreground="Blue" Text="This is the sample text" />



One thought on “How to create Marquee functionality in Silverlight ?

  1. google August 27, 2011 / 3:12 am

    I liked your article is an interesting technology
    thanks to google I found you

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.