Search code examples
c#windows-phone-8.1win-universal-appwindows-rt

Raise tapped event windows phone


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.


Solution

  • Try this,

    private void Button_Click(object sender, RoutedEventArgs e)
    {
       Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => comboBox1.IsDropDownOpen = true);
    }