title: Custom ViewCell Contain Button Has Command And Binding To This Command
body: <p>I fix customize some problems in some projects
  one of them that I need to use custom <code>ViewCell</code> in Separated class and file
  like that:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ViewCell xmlns="http://xamarin.com/schemas/2014/forms" 
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
            x:Class="HBRS.Controls.ViewCellTemplates.ArticleItemViewCell"&gt;
      &lt;Image&gt;
              &lt;Image.GestureRecognizers&gt;
                  &lt;TapGestureRecognizer   
                      Command="{Binding BindingContext.clickCommand, Source={x:Reference Name=mArt}}"
                      CommandParameter="{Binding .}" /&gt;
              &lt;/Image.GestureRecognizers&gt;
      &lt;/Image&gt;
  &lt;/ViewCell&gt;
  </code></pre>
  
  <p>where <code>mArt</code> is the view that will command make some thing with it</p>
  
  <p>after that I used this view cell in on of my <code>xamarin</code> pages like that:</p>
  
  <pre><code>&lt;ListView.ItemTemplate&gt;
      &lt;DataTemplate&gt;
          &lt;Cell:ArticleItemViewCell /&gt;
      &lt;/DataTemplate&gt;
  &lt;/ListView.ItemTemplate&gt;
  </code></pre>
  
  <p>when I run the application on my device, it throw an exception say that <strong>cannot find object referenced for 'mArt'</strong>
  so I need some way to pass <code>Source={x:Reference Name=mArt}</code> up with the same result or make the interact that command will make it </p>