0

usinggridTest.doubleTapped += DoubleTapEvent实际上很少检测到双击。是否有任何工作或一些东西可以得到。

4

1 回答 1

1

我通过添加调度程序层在我的应用程序中提供了一个解决方法,并且也保持大约 300 毫秒的间隔。

Heres调度程序计时器代码

DispatcherTimer timer = new DispatcherTimer();
    timer.Interval = new TimeSpan(300);
    timer.Tick += timer_Tick;
    timer.Start();

public void timer_Tick(object sender, object args){ // handle the code here and dont forget to stop the timer}

我知道这是一种不好的做法,但它有帮助。如果赶时间,可以用作解决方法:)

于 2013-09-15T21:30:05.277 回答