private async void LoadEvents() { EventList.ClearValue(ItemsControl.ItemsSourceProperty); EventList.DisplayMemberPath = "EventDesc"; EventList.SelectedValuePath = "EventId"; EventList.ItemsSource = await eventCore.GetEventsAsync(UserCredentials.Conference.ConferenceId); }
private async Task LoadEvents() { SelectEventBox.ClearValue(ItemsControl.ItemsSourceProperty); SelectEventBox.DisplayMemberPath = "Title"; SelectEventBox.SelectedValuePath = "EventId"; SelectEventBox.ItemsSource = await eventCore.GetEventsAsync(UserCredentials.Conference.ConferenceId); }