private void SelectChoice(Choice choice) { // Ignore if not one of the offered options if (offeredChoices.Contains(choice)) { PromptControl.Visibility = Visibility.Collapsed; selectedChoice = choice; offeredChoices = null; waitForChoice.Set(); } }