Animations Silverlight

    xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' 
    xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'
    xmlns:d='http://schemas.microsoft.com/expression/blend/2008' 
    xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006' 
    mc:Ignorable='d' 
    d:DesignWidth='640' 
    d:DesignHeight='480'>
  
    
      
        
        
          
            
          

        
        
          
            
          

        
      
    
    
      
        
        
        
      
      
        
        
        
      
      
        
        
        
        
      
    
  

  
    
      
        
          
          
          
          
        

      

    
          VerticalAlignment="Bottom" Fill="#FF3A3A3F" 
      d:LayoutOverrides="Height"/>
          Margin="0,113,0,0" VerticalAlignment="Top" Width="49.56" 
      Fill="#FF352424" d:LayoutOverrides="Width, Height"/>
          Margin="4,4,4,0" VerticalAlignment="Top" Content="Click to Drop the Ball"
      Click="Button_Click"/>
          Margin="37,43,0,0" VerticalAlignment="Top" Width="70"
      Grid.Column="1" Fill="#FF00FFFF" Stroke="#FF000000" x:Name="rectangle" 
      RenderTransformOrigin="0.5,0.5">
      
        
          
          
          
          
        

      

    
          Margin="145,43,199,0" VerticalAlignment="Top" 
      Fill="#FFFFFF00" Stroke="#FF000000" Width="70" 
      x:Name="ellipse1" RenderTransformOrigin="0.5,0.5">
      
        
          
          
          
          
        

      

    
           VerticalAlignment="Top" Fill="#FFFF0000" Stroke="#FF000000"
       Width="70" Height="70" x:Name="ellipse2" RenderTransformOrigin="0.5,0.5">
      
        
          
          
          
          
        

      

    
           VerticalAlignment="Top" Width="151"
       Content="Start Multi-Animation" Click="Button_Click_1"/>
  


//File: Page.xaml.cs
using System.Windows;
using System.Windows.Controls;
namespace SilverlightApplication3
{
  public partial class MainPage : UserControl
  {
    public MainPage()
    {
      InitializeComponent();
    }
    private void Button_Click(object sender, RoutedEventArgs e)
    {
      BouncingBallStoryboard.Begin();
    }
    private void Button_Click_1(object sender, RoutedEventArgs e)
    {
      MultipleAnimations.Begin();
    }
  }
}