none
Problem with WPF ListView on touch screen RRS feed

  • Question

  • Hello,

    we are experiencing a strange problem in our WPF application on some touch screens (Windows 10):

    After double clicking with a finger on an item in a ListView control, a new dialog is opened:

            void L1Double(Object sender, MouseButtonEventArgs e)
            {
                Window1 w = new Window1();
                w.ShowDialog();
            }

    This dialog contains a button. Single clicking with a finger on this button does only work after several tries and 5 to 10 seconds:

            void B1Click(Object sender, RoutedEventArgs e)
            {
                MessageBox.Show("Test");
            }

    When we do the same with the mouse the message box opens immediately after the first click on the button.

    I could provide a sample program if needed.

    Wednesday, March 15, 2017 4:38 PM

All replies