我正在使用鼠标绑定在我的视图中监听用户点击,就像这样:
<Path.InputBindings>
<MouseBinding Gesture="LeftDoubleClick" Command="{Binding DoubleLeftClickProj}" />
<MouseBinding Gesture="LeftClick" Command="{Binding SingleLeftClick}"/>
</Path.InputBindings>
我每次只需要一种鼠标手势。所以,如果我双击应用程序,我想忽略单击左键的鼠标绑定。可能需要在初始鼠标单击后等待1-2秒,然后决定调用哪个手势。有没有简单的方法来实现这个?