title: Auto focus entry when it is visible or enabled in xamarin forms using custom renderers
body: <p>I have a page where i display a list of items in a listview which has a footer. The footer of the listview is visible only in certain conditions.
  Here is the listview footer which has an entry. </p>
  
  <pre><code>&lt;listview:SfListView.FooterTemplate&gt;
      &lt;DataTemplate&gt;
          &lt;Grid Padding="15,5,10,10" IsVisible="{Binding NewListEntryVisible}"&gt;
              &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="50"/&gt;
              &lt;/Grid.RowDefinitions&gt;    
              &lt;local:AutoFocusEntry ReturnType="Done" IsVisible="{Binding NewListEntryVisible}" Grid.Row="0" IsEnabled="{Binding FocusEntry}" Text="{Binding cartName}" x:Name="NewListEntry" Placeholder="Enter list name"&gt;
                  &lt;local:AutoFocusEntry.Behaviors&gt;
                      &lt;behaviors:EventToCommandBehavior                    
                          EventName="Completed"
                          Command="{Binding NewListCommand}" /&gt;
                  &lt;/local:AutoFocusEntry.Behaviors&gt;
              &lt;/local:AutoFocusEntry&gt;    
          &lt;/Grid&gt;    
      &lt;/DataTemplate&gt;    
  &lt;/listview:SfListView.FooterTemplate&gt;
  </code></pre>
  
  <p>As soon as the footer is visible (as I said earlier it is visible based on certain conditions), I want the entry in the footer to get focussed automatically. How can I achieve this using Entry Custom Renderer.</p>
  
  <p>Thanks in advance.</p>