
<Page 
    x:Class="Microsoft.Samples.PerFrameAnimations.ReusableFollowExample"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ae="clr-namespace:Microsoft.Samples.PerFrameAnimations"
  >
  <Canvas Background="transparent">
    <ae:FollowMouseCanvas Canvas.Left="0" Canvas.Top="0" Background="red" Width="50" Height="50">
      <!-- could put more content that will also follow mouse here-->
    </ae:FollowMouseCanvas>
    <ae:FollowMouseCanvas Canvas.Left="300" Canvas.Top="0" Background="green" Width="50" Height="50">
      <!-- could put more content that will also follow mouse here-->
    </ae:FollowMouseCanvas>
    <ae:FollowMouseCanvas Canvas.Left="0" Canvas.Top="300" Background="blue" Width="50" Height="50">
      <!-- could put more content that will also follow mouse here-->
    </ae:FollowMouseCanvas>
  </Canvas>
</Page>
