title: How to handle the item of a ListView's by viewcell TapGestureRecognizer
body: <p>I have a ListView with a custom viewcell where I put a Label and GestureRecognizers with it.
  How can I handle diferent Item using Label with TapGestureRecognizer. So fare this is my code.</p>
  
  <pre><code>&lt;ViewCell&gt;
    &lt;StackLayout&gt;
      &lt;StackLayout Orientation="Horizontal" Padding="5"&gt;
        &lt;Label Text="{Binding Title, Converter={StaticResource LettersConverter}}" FontSize="30" TextColor="#edfff1"/&gt;
        &lt;Label Text="&amp;#xf017;" FontSize="40"&gt;
          &lt;Label.GestureRecognizers&gt;
            &lt;TapGestureRecognizer Tapped="TapGestureRecognizer_Tapped" /&gt;
          &lt;/Label.GestureRecognizers&gt;
        &lt;/Label&gt;                                    
      &lt;/StackLayout&gt;                                
      &lt;StackLayout Orientation="Horizontal" Padding="1"&gt;
        &lt;Label Text="Alarm" TextColor="#edfff1" FontSize="Micro"/&gt;
        &lt;Label Text="{Binding AlarmTime, StringFormat='{0:dddd, d MMMM, yyyy, HH:mm}'}"/&gt;                                    
      &lt;/StackLayout&gt;
    &lt;/StackLayout&gt;
  &lt;/ViewCell&gt;
  </code></pre>
  
  <p>Thank you.</p>
  
  <p>Updated Code:</p>
  
  <p>Xaml:</p>
  
  <pre><code>&lt;Label Text="&amp;#xf017;"&gt;
                                                  &lt;Label.GestureRecognizers&gt;
                                                      &lt;TapGestureRecognizer                                                         
                                                          Command="{Binding TapCommand}"
                                                          CommandParameter="{Binding .}" /&gt;
                                                  &lt;/Label.GestureRecognizers&gt;
                                              &lt;/Label&gt;
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>ICommand tapCommand;
          public MainPage()
          {
              tapCommand = new Command(OnTapped);
          }
          public ICommand TapCommand
          {
              get { return tapCommand; }
          }
          void OnTapped(object s)
          {
              test.Text = "Works";            
          }
  </code></pre>
  
  <p>Final working Code.</p>
  
  <p>Xaml:</p>
  
  <pre><code>&lt;Label Text="Test"&gt;
                                                  &lt;Label.GestureRecognizers&gt;
                                                      &lt;TapGestureRecognizer
                                                          Command="{Binding Path = TapCommand, Source={x:Reference MainPage}}" CommandParameter="{Binding .}"
                                                       /&gt;
                                                  &lt;/Label.GestureRecognizers&gt;
                                              &lt;/Label&gt;
  </code></pre>
  
  <p>Code behind.</p>
  
  <pre><code>ICommand tapCommand;
  
  //constructor
      public MainPage()
      {
          tapCommand = new Command(OnClick);
      }
  
      public ICommand TapCommand
      {
          get { return tapCommand; }
      }
  
      void OnClick(object i)
      {
          var model = (Note)i;
          st.Text = model.Title;
  
      } 
  </code></pre>