title: Using toolkit:TransitionService in Windows Phone 8
body: <p>I'm very new to developing for Windows Phone 8 and I was wondering if I could get some more information on how to use this piece of code in an app:</p>
  
  <pre><code>&lt;toolkit:TransitionService.NavigationInTransition&gt;
       &lt;toolkit:NavigationInTransition&gt;
          &lt;toolkit:NavigationInTransition.Backward&gt;
              &lt;toolkit:TurnstileTransition Mode="BackwardIn"/&gt;
          &lt;/toolkit:NavigationInTransition.Backward&gt;
          &lt;toolkit:NavigationInTransition.Forward&gt;
              &lt;toolkit:TurnstileTransition Mode="ForwardIn"/&gt;
          &lt;/toolkit:NavigationInTransition.Forward&gt;
      &lt;/toolkit:NavigationInTransition&gt;
  &lt;/toolkit:TransitionService.NavigationInTransition&gt;
  &lt;toolkit:TransitionService.NavigationOutTransition&gt;
      &lt;toolkit:NavigationOutTransition&gt;
          &lt;toolkit:NavigationOutTransition.Backward&gt;
              &lt;toolkit:TurnstileTransition Mode="BackwardOut"/&gt;
          &lt;/toolkit:NavigationOutTransition.Backward&gt;
          &lt;toolkit:NavigationOutTransition.Forward&gt;
              &lt;toolkit:TurnstileTransition Mode="ForwardOut"/&gt;
          &lt;/toolkit:NavigationOutTransition.Forward&gt;
      &lt;/toolkit:NavigationOutTransition&gt;
  &lt;/toolkit:TransitionService.NavigationOutTransition&gt;
  </code></pre>
  
  <p>I've read some of the examples on <a href="http://phone.codeplex.com" rel="nofollow">http://phone.codeplex.com</a> however, it seems to only be used when a tag uses the NavigateUri attribute. </p>
  
  <p>So my main question is: Does this code get executed whenever any page navigation occurs (even in the back end) or does it have to be implemented in the front end portion where the code resides?</p>
  
  <p>Thank you for the help</p>