0

I need to open a ComboBox when the user perform a tap on a button, any idea? I have searched a lot but I haven't find useful stuff.

frenk91
  • 919
  • 1
  • 15
  • 30

1 Answers1

0

Try this,

private void Button_Click(object sender, RoutedEventArgs e)
{
   Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => comboBox1.IsDropDownOpen = true);
}
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396