private async void LineName_OnDropDownClosed(object sender, EventArgs e) { if (!string.IsNullOrEmpty(StopName.Text) && !string.IsNullOrEmpty(LineName.Text)) { var lineItems = await NewFavoriteStop.GetDirections(StopName.Text, LineName.Text); Direction.ItemsSource = lineItems.Values; } }