Article
    C#
    ADO.Net
    .NET
    ASP.Net & Web Forms
    Custom Controls
    Web Development
    Exception Handling
    XML
    Database
    Security in .Net
    Testing
    Web Services
    Windows Services
    Windows Controls
    WCF
    AJAX
    WPF
    XAML
    Reporting
    Setup
    VB.Net
    LINQ
    JQuery
    SilverLight
    JavaScript
    HTML5
    Crystal Report
    Cloud Computing
    Share Point
    Visual C++
    MVC
    Android
    PHP
    Java
    HTML
    WordPress
    Joomla
    Products
    Drupal
    Windows Phone
    JSON
    LightSwitch
    iPhone/iPad
    Ruby on Rails
    IIS 7
    Windows 8
    CSS/CSS3
    Excel
    MS Access
    Shortcut Keys
    Visual SourceSafe
    Team Foundation Server
    API(s)
    Sencha-Touch
    Single Page App
    Bootstrap
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Top Contributor
Advertisement
Advertise with Us
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog

Home >> SilverLight >> Creating Animation in Silverlight
Creating Animation in Silverlight
Creating Animation in Silverlight


by Awadhendra Tiwari on 3/5/2011 7:49:04 PM

Views: 3419       Comments: 1

Creating Animation in Silverlight

In this article I am going to demonstrate that how to use simple animation in Silverlight by using Visual Studio 2010. For creating any animation in Silverlight you have to perform two tasks. First create a StoryBoard object and set some properties to that object then create an object in which you want to apply story board.

Following XAML code represent demonstration of Animation in Silverlight

<Grid x:Name="LayoutRoot" Background="White">

        <Grid.Resources>

            <Storyboard x:Name="storyBoard">

                <DoubleAnimation Storyboard.TargetName="rotateTransform" Storyboard.TargetProperty="Angle" From="0" To="360" Duration="0:0:5"

                                 RepeatBehavior="Forever" AutoReverse="True" />

            </Storyboard>

        </Grid.Resources>

        <Rectangle Fill="LightBlue" x:Name="rectangle" Height="100" Width="100">

            <Rectangle.RenderTransform>

                <RotateTransform x:Name="rotateTransform" />

            </Rectangle.RenderTransform>

        </Rectangle>

</Grid>

Save application and execute it.

Creating Animation in Silverlight

Creating Animation in Silverlight

Report Abuse Form
Reason:    
 


Animation in Silverlight
by Amit Singh 3/14/2011 5:19:51 AM

Silverlight is powerful for graphics etc.
so this is the helpful article how make the animation like application in silverlight.

thanks,

Report Abuse
Title :
Comment :
Text ColorBackground Color
BoldItalicUnderline
LeftCenterRightJustify
Ordered ListBulleted List
IndentOutdent
Horizontal Rule
SubscriptSuperscript
HyperlinkImage
Design ModeDesign
View HtmlHtml
     
 
Latest Article by Awadhendra TiwariRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Latest BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Top Viewed ArticlesRSS Feed
    
    
    
    
    
    
    
    
    
    
Top Viewed BlogsRSS Feed
    
    
    
    
    
    
    
    
    
    
Latest Interview QuestionsRSS Feed
    
    
    
    
    
    
    
    
    
    
More...
Total Online Users: 5260
Advertisement
MindStick DataConver
Advertise with Us
  
Copyright © 2014MindStick. All Rights Reserved.