private void CountriesList_SelectedIndexChanged(object sender, EventArgs e) { var picker = sender as Picker; if (picker == null) { return; } int selected = picker.SelectedIndex; var sel = picker.Items[selected]; Country country = Countries.FindLast(x => x.caption.Contains(sel)); this.country_id = country.id; // CitiesList.ItemsSource = Cities; CitiesEntry.IsEnabled = true; //if (country_id) //s CitiesEntry.IsVisible = true; }