Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Focusing on Entry Field Each Time a ContentView View Shows

$
0
0

I have MyView.xaml.cs and MyView.xaml (which is a ContentView) defining MyView view.

MyView has an Entry field. How do I focus on that Entry field each time MyView is shown on screen?

Originally, I thought I could just to to MyView.xaml.cs and override OnAppearing() lifecycle method. But ContentView does not have OnAppearing().


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>