title: How can control inside DataTemplate be found in Xamarin
body: <p>I have a control inside a DataTemplate. When that control executes the Tapped command I want it to be hidden without having to reload the ContentPage.</p>
  <p>Page1.xaml</p>
  <pre><code>&lt;StackLayout x:Name=&quot;sss&quot; BindableLayout.ItemsSource=&quot;{Binding ....}&quot;&gt;
      &lt;BindableLayout.ItemTemplate&gt;
          &lt;DataTemplate&gt;      
              &lt;Frame x:Name=&quot;follower&quot; IsVisible=&quot;{Binding Follow}&quot;&gt;
                  &lt;Label Text=&quot;SSSS1&quot; TextColor=&quot;#fff&quot; FontSize=&quot;11&quot;&gt;&lt;/Label&gt;
                  &lt;Frame.GestureRecognizers&gt;
                      &lt;TapGestureRecognizer Tapped=&quot;follower_Tapped&quot;/&gt;
                  &lt;/Frame.GestureRecognizers&gt;
              &lt;/Frame&gt;
          &lt;/DataTemplate&gt;
      &lt;/BindableLayout.ItemTemplate&gt;
  &lt;/StackLayout&gt;
  </code></pre>
  <p>Page1.xaml.cs</p>
  <pre><code>FeedsViewModel feedsViewModel;
  public Page1()
  {
      BindingContext = feedsViewModel = new FeedsViewModel(Navigation);
      feedsViewModel.OnAppearing();
  }
  
  private void follower_Tapped(object sender, EventArgs e)
  {
      string a = &quot;s&quot;;
      //Find Control Frame x:Name=&quot;follower&quot; to IsVisible False
      .......
  }
  </code></pre>
  <p>How can I hide the Frame x:Name=&quot;follower&quot; control when I follow_Tapped. Can anyone help me with a solution to this problem? Thank you</p>