title: UIElement.Projection only in Silverlight and not in WPF?
body: <p>I downloaded a sample code from here:
  <a href="http://gallery.expression.microsoft.com/ShowHideWithFlip" rel="nofollow">http://gallery.expression.microsoft.com/ShowHideWithFlip</a></p>
  
  <p>Now my problem is that i'm using WPF and the guy is using Silverlight..</p>
  
  <p>I thought they are both using .NET 4 but i found out there is ".NET 4" and there is ".NET for Silverlight" totla diffrent things..</p>
  
  <p>i get this error:</p>
  
  <pre><code>'System.Windows.UIElement' does not contain a definition for 'Projection' and no   extension method 'Projection' accepting a first argument of type 'System.Windows.UIElement' could be found (are you missing a using directive or an assembly reference?)
  </code></pre>
  
  <p>I just found out why, the guy is using .NET for Silverlight and i'm using .NET 4.</p>
  
  <p>Silverlight:
  <a href="http://msdn.microsoft.com/en-us/library/system.windows.uielement(v=VS.95).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.windows.uielement(v=VS.95).aspx</a></p>
  
  <p>.NET 4: <a href="http://msdn.microsoft.com/en-us/library/system.windows.uielement.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.windows.uielement.aspx</a></p>
  
  <p>There is a solution for this?</p>
  
  <p>I thought WPF and Silverlight is kinde of the same ( <a href="http://msdn.microsoft.com/en-us/library/ff921107(v=pandp.20).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ff921107(v=pandp.20).aspx</a> )</p>
  
  <p>I just found this: <a href="http://social.msdn.microsoft.com/Forums/en/wpf/thread/9acb712a-b592-49e7-83a1-e3ee7ff03014" rel="nofollow">http://social.msdn.microsoft.com/Forums/en/wpf/thread/9acb712a-b592-49e7-83a1-e3ee7ff03014</a></p>
  
  <p>This is my problam but i cant figure how to use the ViewPort3D.
  here is the part of the code:</p>
  
  <pre><code>        if (showElement.Projection == null)
          {
              showElement.Projection = new PlaneProjection();
              showElement.RenderTransformOrigin = new Point(.5, .5);
          }
  
          if (hideElement.Projection == null)
          {
              hideElement.Projection = new PlaneProjection();
              hideElement.RenderTransformOrigin = new Point(.5, .5);
          }
  
          mainStoryboard = new Storyboard();
  
          BackEase hide_ease = new BackEase() { EasingMode = EasingMode.EaseOut, Amplitude = 0.2 };
  
          // Show           
          PlaneProjection showPP = new PlaneProjection();
          CompositeTransform showCT = new CompositeTransform();
  </code></pre>