title: Windows Phone 8 image flick event not working
body: <p>I have the following code in my xaml in a Windows phone 8 page..</p>
  
  <pre><code>  &lt;Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"&gt;
                  &lt;StackPanel&gt;
                      &lt;Image Name="img" Width="350" Height="480" Margin="0,40,0,0"&gt;
                          &lt;toolkit:GestureService.GestureListener&gt;
                              &lt;toolkit:GestureListener Flick="GestureListener_Flick"&gt;&lt;/toolkit:GestureListener&gt;
                          &lt;/toolkit:GestureService.GestureListener&gt;
                      &lt;/Image&gt;
                  &lt;/StackPanel&gt;
              &lt;/Grid&gt;
  </code></pre>
  
  <p>CS file code:</p>
  
  <pre><code>public void View()
          {
              Dispatcher.BeginInvoke(() =&gt;
                  {
  
                      pics = new List&lt;string&gt;();
                      pics = (List&lt;string&gt;)Application.Current.Resources["Photolist"];
                      img.Source = new BitmapImage(new Uri("https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&amp;photoreference=" + pics[imagenm] + "&amp;key=AIzaSyDnoBLK2Zk46LRPb1qRQYJIVRoUvBeo5tA"));
                  });
          }
  
          private void GestureListener_Flick(object sender, FlickGestureEventArgs e)
          {
  
              if (e.HorizontalVelocity &gt; 0)
              {
                  value +=imagenm;
                  img.Source = new BitmapImage(new Uri("https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&amp;photoreference=" + pics[value] + "&amp;key=AIzaSyDnoBLK2Zk46LRPb1qRQYJIVRoUvBeo5tA"));
              }
          }
  
          private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
          {
              try
              {
                  imagenm = Convert.ToInt32(NavigationContext.QueryString["imgname"]);
              }
              catch (Exception ex)
              {
                  MessageBox.Show(ex.Message);
              }
              View();
          }
  </code></pre>
  
  <p>Now i am able to display the user selected image from the previous window perfectly. But when I flick right nothing seems to happen. Please help why the flick event on image is not firing. Thanks.</p>